Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 214.2 kB / 22.99 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9841/0.9841, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003322/0.003322, allocations: 62.72 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1945, allocations: 89.18 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03159/0.2261, allocations: 22.23 MB / 0.7499 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.2388, allocations: 6.442 MB / 0.7562 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.241, allocations: 127.1 kB / 0.7563 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004453/0.2454, allocations: 1.519 MB / 0.7578 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.2502, allocations: 1.937 MB / 0.7597 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3833/0.6335, allocations: 1.457 MB / 0.7611 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00715/0.6407, allocations: 6.896 MB / 0.7678 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006489/0.6471, allocations: 3.73 MB / 0.7715 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00536/0.6525, allocations: 2.925 MB / 0.7743 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008008/0.6605, allocations: 3.574 MB / 0.7778 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002793/0.6633, allocations: 0.5268 MB / 0.7783 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.668, allocations: 1.107 MB / 0.7794 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004908/0.6729, allocations: 2.529 MB / 0.7819 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006857/0.6797, allocations: 2.053 MB / 0.7839 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.6916, allocations: 8.587 MB / 0.7923 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.6916, allocations: 0.9062 kB / 0.7923 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6916, allocations: 0 / 0.7923 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002759/0.6919, allocations: 1.375 kB / 0.7923 GB, free: 9.812 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01187/0.7038, allocations: 4.467 MB / 0.7966 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.7038, allocations: 9.031 kB / 0.7966 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/0.7049, allocations: 0.5737 MB / 0.7972 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008422/0.7133, allocations: 1.708 MB / 0.7989 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006868/0.7202, allocations: 2.671 MB / 0.8015 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.7204, allocations: 275.5 kB / 0.8017 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.7216, allocations: 363.8 kB / 0.8021 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.7364, allocations: 7.714 MB / 0.8096 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.7365, allocations: 17.3 kB / 0.8096 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006228/0.7371, allocations: 157.8 kB / 0.8098 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006427/0.7377, allocations: 486.6 kB / 0.8103 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.75, allocations: 5.695 MB / 0.8158 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03772/0.7877, allocations: 20.55 MB / 0.8359 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.791, allocations: 2.012 MB / 0.8379 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.7943, allocations: 2.1 MB / 0.8399 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.7945, allocations: 17.31 kB / 0.8399 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.7945, allocations: 47.88 kB / 0.84 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.597e-06/0.7945, allocations: 1.5 kB / 0.84 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=251): time 0.3221/1.117, allocations: 76.74 MB / 0.9149 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/1.117, allocations: 81.41 kB / 0.915 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/1.12, allocations: 1.701 MB / 0.9166 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006521/1.121, allocations: 69.64 kB / 0.9167 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.123, allocations: 1.792 MB / 0.9185 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.125, allocations: 0.8901 MB / 0.9193 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/1.127, allocations: 485.4 kB / 0.9198 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.127, allocations: 301.1 kB / 0.9201 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/1.131, allocations: 2.734 MB / 0.9228 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005022/1.136, allocations: 3.328 MB / 0.926 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009898/1.146, allocations: 6.391 MB / 0.9322 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/1.146, allocations: 4 kB / 0.9322 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03517/1.181, allocations: 14.41 MB / 0.9463 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/1.181, allocations: 13.09 kB / 0.9463 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/1.181, allocations: 23.94 kB / 0.9464 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0313/1.213, allocations: 9.204 MB / 0.9553 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.214, allocations: 299.4 kB / 0.9556 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08851/1.303, allocations: 51.04 MB / 1.005 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/1.306, allocations: 223.7 kB / 1.006 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005494/1.307, allocations: 99.98 kB / 1.006 GB, free: 8.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003597/1.31, allocations: 1.587 MB / 1.007 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009079/1.311, allocations: 258.6 kB / 1.008 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03584/1.347, allocations: 14.47 MB / 1.022 GB, free: 7.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/1.347, allocations: 27.94 kB / 1.022 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001316/1.347, allocations: 44 kB / 1.022 GB, free: 7.781 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.564e-05/1.347, allocations: 11.95 kB / 1.022 GB, free: 7.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04817/1.395, allocations: 19.53 MB / 1.041 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.421e-05/1.395, allocations: 11.98 kB / 1.041 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/1.396, allocations: 155.8 kB / 1.041 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03068/1.427, allocations: 8.972 MB / 1.05 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005348/1.427, allocations: 48 kB / 1.05 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4182/1.846, allocations: 50.59 MB / 1.099 GB, free: 274.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/1.846, allocations: 15.09 kB / 1.099 GB, free: 274.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03092/1.876, allocations: 14.08 MB / 1.113 GB, free: 270.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/1.879, allocations: 0.7847 MB / 1.114 GB, free: 270.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007332/1.88, allocations: 53.55 kB / 1.114 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.883, allocations: 207.9 kB / 1.114 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001582/1.884, allocations: 253 kB / 1.114 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003208/1.885, allocations: 70.88 kB / 1.114 GB, free: 270.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001822/1.886, allocations: 1.131 MB / 1.115 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/1.886, allocations: 0 / 1.115 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005854/1.892, allocations: 1.614 MB / 1.117 GB, free: 270 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02836/1.921, allocations: 14.71 MB / 1.131 GB, free: 264.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01953/1.94, allocations: 10.21 MB / 1.141 GB, free: 254.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.94, allocations: 0 / 1.141 GB, free: 254.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01575/1.956, allocations: 7.005 MB / 1.148 GB, free: 247.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.959, allocations: 0.5585 MB / 1.149 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08733/2.047, allocations: 50.5 MB / 1.198 GB, free: 195.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00322/2.05, allocations: 2.681 MB / 1.201 GB, free: 193.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001101/2.051, allocations: 382 kB / 1.201 GB, free: 192.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/2.052, allocations: 1.469 MB / 1.202 GB, free: 191.2 MB / 0.8419 GB Notification: Performance of SimCode: time 1.102e-06/2.052, allocations: 3.938 kB / 1.202 GB, free: 191.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1937/2.246, allocations: 129.3 MB / 1.329 GB, free: 62.58 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/17.57, allocations: 0.5469 kB / 1.329 GB, free: 62.58 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.656475625000894] Failed to read output from testmodel.py, exit status != 0: 17.740318614058197 17.75856766 17.062668313 Calling exit ...