Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0008523/0.0008523, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001107/0.001107, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.9201/0.9201, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001473/0.001473, allocations: 233.5 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.658/0.658, allocations: 138.4 MB / 454.3 MB, free: 1.637 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.6463 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.141e-05, allocations: 6.219 kB / 0.6463 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01354/0.01357, allocations: 21.11 MB / 0.6669 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007166/0.02073, allocations: 6.125 MB / 0.6729 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.02207, allocations: 123.1 kB / 0.673 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.0239, allocations: 1.584 MB / 0.6746 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.02623, allocations: 1.764 MB / 0.6763 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.02807, allocations: 1.351 MB / 0.6776 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004407/0.03248, allocations: 6.041 MB / 0.6835 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003579/0.03606, allocations: 3.209 MB / 0.6867 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.04005, allocations: 3.45 MB / 0.69 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.04307, allocations: 2.771 MB / 0.6927 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007161/0.04379, allocations: 456 kB / 0.6932 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.04529, allocations: 1.045 MB / 0.6942 GB, free: 316 kB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.04675, allocations: 2.198 MB / 0.6963 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.04873, allocations: 1.497 MB / 0.6978 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005432/0.05417, allocations: 7.433 MB / 0.7051 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.05417, allocations: 4 kB / 0.7051 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.05417, allocations: 0 / 0.7051 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000131/0.05431, allocations: 4 kB / 0.7051 GB, free: 5.145 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.004774/0.05908, allocations: 3.797 MB / 0.7088 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.05912, allocations: 8.75 kB / 0.7088 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004302/0.05955, allocations: 0.5054 MB / 0.7093 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.06262, allocations: 1.239 MB / 0.7105 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.06524, allocations: 2.305 MB / 0.7127 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.06535, allocations: 246.4 kB / 0.713 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.06569, allocations: 319.9 kB / 0.7133 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006214/0.0719, allocations: 6.442 MB / 0.7196 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.402e-05/0.07196, allocations: 19.77 kB / 0.7196 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.07219, allocations: 136 kB / 0.7197 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000301/0.07249, allocations: 410.3 kB / 0.7201 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004952/0.07745, allocations: 4.654 MB / 0.7247 GB, free: 0.6523 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.09329, allocations: 18.62 MB / 0.7428 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.09454, allocations: 1.378 MB / 0.7442 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.09575, allocations: 1.425 MB / 0.7456 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.09582, allocations: 13 kB / 0.7456 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.09585, allocations: 43.56 kB / 0.7456 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/0.09585, allocations: 0 / 0.7456 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=179): time 0.06881/0.1647, allocations: 37.08 MB / 0.7818 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1647, allocations: 69.41 kB / 0.7819 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.166, allocations: 1.45 MB / 0.7833 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.1662, allocations: 61.69 kB / 0.7834 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/0.1669, allocations: 1.575 MB / 0.7849 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/0.1673, allocations: 0.6312 MB / 0.7855 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/0.1678, allocations: 383.5 kB / 0.7859 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.1678, allocations: 305.1 kB / 0.7862 GB, free: 1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.1695, allocations: 1.788 MB / 0.7879 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.1714, allocations: 2.35 MB / 0.7902 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/0.1753, allocations: 4.387 MB / 0.7945 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.1753, allocations: 4 kB / 0.7945 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01075/0.186, allocations: 8.424 MB / 0.8028 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.1861, allocations: 19.92 kB / 0.8028 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.1861, allocations: 20 kB / 0.8028 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008271/0.1943, allocations: 4.613 MB / 0.8073 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.1951, allocations: 303.5 kB / 0.8076 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02936/0.2244, allocations: 31.58 MB / 0.8384 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.2258, allocations: 151.8 kB / 0.8386 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.2259, allocations: 83.94 kB / 0.8387 GB, free: 10.03 MB / 0.6823 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00162/0.2275, allocations: 1.332 MB / 0.84 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.2278, allocations: 218.6 kB / 0.8402 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.2381, allocations: 8.289 MB / 0.8483 GB, free: 144 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.2381, allocations: 16 kB / 0.8483 GB, free: 128 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.204e-05/0.2382, allocations: 28 kB / 0.8483 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.2382, allocations: 7.969 kB / 0.8483 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.254, allocations: 12.21 MB / 0.8602 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.254, allocations: 8 kB / 0.8602 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.2545, allocations: 163.7 kB / 0.8604 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2687/0.5232, allocations: 4.466 MB / 0.8648 GB, free: 195 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003419/0.5236, allocations: 39.09 kB / 0.8648 GB, free: 195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/0.5498, allocations: 31.19 MB / 0.8952 GB, free: 181.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5498, allocations: 10.66 kB / 0.8953 GB, free: 181.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0084/0.5582, allocations: 8.089 MB / 0.9032 GB, free: 177.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/0.5591, allocations: 0.5582 MB / 0.9037 GB, free: 177.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.5593, allocations: 43.44 kB / 0.9037 GB, free: 177.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.56, allocations: 137.3 kB / 0.9039 GB, free: 177.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/0.5605, allocations: 170.5 kB / 0.904 GB, free: 177.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/0.5606, allocations: 49.66 kB / 0.9041 GB, free: 177.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007854/0.5614, allocations: 0.9622 MB / 0.905 GB, free: 176.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.5614, allocations: 0 / 0.905 GB, free: 176.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002482/0.5639, allocations: 1.113 MB / 0.9061 GB, free: 175.7 MB / 0.698 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008506/0.5724, allocations: 8.69 MB / 0.9146 GB, free: 166.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006618/0.579, allocations: 6.289 MB / 0.9207 GB, free: 160.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.579, allocations: 0 / 0.9207 GB, free: 160.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004425/0.5835, allocations: 4.186 MB / 0.9248 GB, free: 156.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.5851, allocations: 0.5313 MB / 0.9253 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/0.6165, allocations: 33.58 MB / 0.9581 GB, free: 121.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.618, allocations: 2.166 MB / 0.9603 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006707/0.6187, allocations: 388.5 kB / 0.9606 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.6194, allocations: 1.223 MB / 0.9618 GB, free: 117.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.204e-06/0.6194, allocations: 0 / 0.9618 GB, free: 117.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08339/0.7028, allocations: 90.01 MB / 1.05 GB, free: 28.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/9.08, allocations: 9.875 kB / 1.05 GB, free: 28.2 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.008606040850282] Failed to read output from testmodel.py, exit status != 0: 9.192636740393937 9.199182513 9.143423408 Calling exit ...