Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0007353/0.0007353, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0007505/0.0007505, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8925/0.8925, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001527/0.001527, allocations: 245.3 kB / 259.4 MB, free: 13.02 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.6897/0.6897, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.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.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.773e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2939/0.294, allocations: 31.08 MB / 0.6767 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.3114, allocations: 14.3 MB / 0.6906 GB, free: 29.67 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/0.3155, allocations: 207.8 kB / 0.6908 GB, free: 29.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00596/0.3214, allocations: 3.685 MB / 0.6944 GB, free: 27.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008095/0.3295, allocations: 3.061 MB / 0.6974 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.3349, allocations: 2.368 MB / 0.6997 GB, free: 24.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.3456, allocations: 9.007 MB / 0.7085 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008252/0.3539, allocations: 5.513 MB / 0.7139 GB, free: 16.24 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.364, allocations: 5.56 MB / 0.7193 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006401/0.3704, allocations: 3.736 MB / 0.723 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.3721, allocations: 0.716 MB / 0.7237 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.3761, allocations: 1.637 MB / 0.7253 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002515/0.3786, allocations: 3.02 MB / 0.7282 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003485/0.3821, allocations: 2.37 MB / 0.7305 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008151/0.3903, allocations: 11.41 MB / 0.7417 GB, free: 9.488 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3903, allocations: 4 kB / 0.7417 GB, free: 9.484 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3903, allocations: 0 / 0.7417 GB, free: 9.484 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002457/0.3905, allocations: 0 / 0.7417 GB, free: 9.484 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0083/0.3988, allocations: 5.99 MB / 0.7475 GB, free: 3.426 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3989, allocations: 13.94 kB / 0.7475 GB, free: 3.414 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007444/0.3996, allocations: 0.7271 MB / 0.7483 GB, free: 2.676 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.403, allocations: 1.18 MB / 0.7494 GB, free: 1.492 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/0.4077, allocations: 3.473 MB / 0.7528 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.4079, allocations: 374.4 kB / 0.7532 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006187/0.4085, allocations: 0.4886 MB / 0.7536 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009967/0.4185, allocations: 8.862 MB / 0.7623 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.489e-05/0.4186, allocations: 19.83 kB / 0.7623 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/0.4189, allocations: 216 kB / 0.7625 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005822/0.4195, allocations: 445.5 kB / 0.7629 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007477/0.427, allocations: 6.073 MB / 0.7689 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02322/0.4502, allocations: 22.02 MB / 0.7904 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.4521, allocations: 1.901 MB / 0.7922 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.4539, allocations: 1.752 MB / 0.7939 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.131e-05/0.454, allocations: 18 kB / 0.794 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.4541, allocations: 52.56 kB / 0.794 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=171): time 3.437e-06/0.4541, allocations: 4 kB / 0.794 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=276): time 0.07554/0.5296, allocations: 38.7 MB / 0.8318 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.5297, allocations: 77.58 kB / 0.8319 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.532, allocations: 2.317 MB / 0.8341 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.5321, allocations: 73.7 kB / 0.8342 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.5333, allocations: 2.334 MB / 0.8365 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/0.5339, allocations: 0.9682 MB / 0.8374 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/0.5345, allocations: 0.5024 MB / 0.8379 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.5346, allocations: 309.1 kB / 0.8382 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.5366, allocations: 1.98 MB / 0.8402 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.5389, allocations: 2.602 MB / 0.8427 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/0.5434, allocations: 4.925 MB / 0.8475 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.5434, allocations: 8 kB / 0.8475 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00918/0.5526, allocations: 7.654 MB / 0.855 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5526, allocations: 12 kB / 0.855 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.5526, allocations: 16 kB / 0.855 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/0.5579, allocations: 3.215 MB / 0.8582 GB, free: 328 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.5588, allocations: 395.4 kB / 0.8585 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02957/0.5883, allocations: 32.76 MB / 0.8905 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.5905, allocations: 155.8 kB / 0.8907 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.5907, allocations: 112 kB / 0.8908 GB, free: 14.23 MB / 0.7292 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002637/0.5933, allocations: 1.794 MB / 0.8925 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/0.5938, allocations: 349.9 kB / 0.8929 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008414/0.6022, allocations: 7.243 MB / 0.8999 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6022, allocations: 24 kB / 0.9 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.6022, allocations: 32 kB / 0.9 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.6023, allocations: 11.95 kB / 0.9 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.6163, allocations: 12.14 MB / 0.9119 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.6163, allocations: 4.844 kB / 0.9119 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.6168, allocations: 235.6 kB / 0.9121 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004658/0.6214, allocations: 2.852 MB / 0.9149 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.6216, allocations: 52 kB / 0.9149 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2748/0.8964, allocations: 31.51 MB / 0.9457 GB, free: 225.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.8964, allocations: 14.88 kB / 0.9457 GB, free: 225.2 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007753/0.9042, allocations: 6.769 MB / 0.9523 GB, free: 223.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.9054, allocations: 0.7268 MB / 0.953 GB, free: 223.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.9056, allocations: 54.28 kB / 0.9531 GB, free: 223.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/0.9065, allocations: 168.5 kB / 0.9532 GB, free: 223 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000625/0.9071, allocations: 265.1 kB / 0.9535 GB, free: 223 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.9072, allocations: 80.78 kB / 0.9536 GB, free: 223 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001516/0.9087, allocations: 1.522 MB / 0.9551 GB, free: 222.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9087, allocations: 0 / 0.9551 GB, free: 222.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002514/0.9113, allocations: 1.371 MB / 0.9564 GB, free: 222.3 MB / 0.7605 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007652/0.9189, allocations: 7.408 MB / 0.9636 GB, free: 218.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007547/0.9265, allocations: 6.553 MB / 0.97 GB, free: 216.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.9265, allocations: 2.969 kB / 0.97 GB, free: 216.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004712/0.9312, allocations: 4.248 MB / 0.9742 GB, free: 214 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.9341, allocations: 1.127 MB / 0.9753 GB, free: 213.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04071/0.9748, allocations: 39.2 MB / 1.014 GB, free: 195.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002432/0.9772, allocations: 3.109 MB / 1.017 GB, free: 192.9 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001416/0.9787, allocations: 0.5597 MB / 1.017 GB, free: 192.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.9797, allocations: 1.98 MB / 1.019 GB, free: 190.6 MB / 0.7605 GB Notification: Performance of SimCode: time 1.102e-06/0.9797, allocations: 0 / 1.019 GB, free: 190.6 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.093, allocations: 118.9 MB / 1.135 GB, free: 73.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.703/10.8, allocations: 12 kB / 1.135 GB, free: 73.8 MB / 0.7605 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.572933259420097] Failed to read output from testmodel.py, exit status != 0: 10.926149237900972 10.933220305 10.541285309 Calling exit ...