Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0007677/0.0007677, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007817/0.0007817, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8724/0.8724, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001401/0.001401, allocations: 238.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.6729/0.6729, allocations: 138.4 MB / 454.3 MB, free: 30.04 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.826e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.227/0.2271, allocations: 6.46 MB / 0.6526 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.2302, allocations: 3.021 MB / 0.6555 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.2305, allocations: 37.44 kB / 0.6556 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.2317, allocations: 0.9498 MB / 0.6565 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.2325, allocations: 0.5399 MB / 0.657 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.2332, allocations: 451 kB / 0.6575 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.2341, allocations: 1.27 MB / 0.6587 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.2346, allocations: 0.5318 MB / 0.6592 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.2352, allocations: 0.6663 MB / 0.6599 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.2357, allocations: 480.1 kB / 0.6603 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/0.2358, allocations: 69.59 kB / 0.6604 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.2363, allocations: 352.8 kB / 0.6607 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.2365, allocations: 326.2 kB / 0.6611 GB, free: 49.78 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.2367, allocations: 313.9 kB / 0.6614 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009542/0.2377, allocations: 1.246 MB / 0.6626 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2377, allocations: 2 kB / 0.6626 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2377, allocations: 1.438 kB / 0.6626 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.2377, allocations: 3.938 kB / 0.6626 GB, free: 49.24 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001198/0.2389, allocations: 1.104 MB / 0.6637 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2389, allocations: 16.41 kB / 0.6637 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.239, allocations: 117.2 kB / 0.6638 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000827/0.2399, allocations: 248.3 kB / 0.664 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.2405, allocations: 0.5483 MB / 0.6646 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.2405, allocations: 46.44 kB / 0.6646 GB, free: 48.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.2406, allocations: 64.41 kB / 0.6647 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.2415, allocations: 1.338 MB / 0.666 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2415, allocations: 6.969 kB / 0.666 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.2416, allocations: 30.25 kB / 0.666 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.964e-05/0.2417, allocations: 85.75 kB / 0.6661 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.2424, allocations: 0.7513 MB / 0.6668 GB, free: 46.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.245, allocations: 4.624 MB / 0.6713 GB, free: 43.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.2456, allocations: 0.5057 MB / 0.6718 GB, free: 42.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.2459, allocations: 287.7 kB / 0.6721 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.2459, allocations: 5.75 kB / 0.6721 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.2459, allocations: 37.19 kB / 0.6721 GB, free: 42.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 1.953e-06/0.2459, allocations: 0 / 0.6721 GB, free: 42.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.002063/0.248, allocations: 1.691 MB / 0.6738 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.248, allocations: 55.59 kB / 0.6738 GB, free: 42.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.2484, allocations: 0.5847 MB / 0.6744 GB, free: 41.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2484, allocations: 37.98 kB / 0.6745 GB, free: 41.74 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2485, allocations: 431.1 kB / 0.6749 GB, free: 41.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.2486, allocations: 172.2 kB / 0.675 GB, free: 41.26 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2487, allocations: 127.1 kB / 0.6751 GB, free: 41.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.2488, allocations: 377.3 kB / 0.6755 GB, free: 40.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.249, allocations: 274.1 kB / 0.6758 GB, free: 40.75 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.2493, allocations: 494 kB / 0.6762 GB, free: 40.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.2499, allocations: 0.8163 MB / 0.677 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2499, allocations: 3.625 kB / 0.677 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001019/0.2509, allocations: 1.07 MB / 0.6781 GB, free: 39.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2509, allocations: 17.88 kB / 0.6781 GB, free: 39.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2509, allocations: 10.56 kB / 0.6781 GB, free: 39.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.2514, allocations: 271.6 kB / 0.6784 GB, free: 39.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.2517, allocations: 124.5 kB / 0.6785 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.2551, allocations: 6.686 MB / 0.685 GB, free: 33.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.2554, allocations: 40.3 kB / 0.6851 GB, free: 33.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.2554, allocations: 27.8 kB / 0.6851 GB, free: 33.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.2556, allocations: 248.2 kB / 0.6853 GB, free: 33.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.2557, allocations: 88.19 kB / 0.6854 GB, free: 33.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009613/0.2567, allocations: 0.8773 MB / 0.6863 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2567, allocations: 5.141 kB / 0.6863 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2567, allocations: 7.406 kB / 0.6863 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2567, allocations: 4.078 kB / 0.6863 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.2583, allocations: 1.611 MB / 0.6879 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2583, allocations: 0.9375 kB / 0.6879 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.2585, allocations: 64.62 kB / 0.6879 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.259, allocations: 262.6 kB / 0.6882 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.259, allocations: 16.22 kB / 0.6882 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.2623, allocations: 6.668 MB / 0.6947 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.2623, allocations: 6.25 kB / 0.6947 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009925/0.2633, allocations: 0.9753 MB / 0.6957 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.2635, allocations: 116.2 kB / 0.6958 GB, free: 25.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2635, allocations: 13.23 kB / 0.6958 GB, free: 25.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2637, allocations: 27.02 kB / 0.6958 GB, free: 25.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.2638, allocations: 51.61 kB / 0.6958 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2638, allocations: 15.94 kB / 0.6959 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003066/0.2641, allocations: 390.2 kB / 0.6962 GB, free: 25.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2641, allocations: 0 / 0.6962 GB, free: 25.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005908/0.2647, allocations: 231.2 kB / 0.6965 GB, free: 25.58 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.2658, allocations: 1.532 MB / 0.698 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.267, allocations: 1.229 MB / 0.6992 GB, free: 23.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.267, allocations: 1.438 kB / 0.6992 GB, free: 23.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.2676, allocations: 0.86 MB / 0.7 GB, free: 23.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.2683, allocations: 230.3 kB / 0.7002 GB, free: 23.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.274, allocations: 6.396 MB / 0.7065 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.2744, allocations: 423.6 kB / 0.7069 GB, free: 19.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003071/0.2747, allocations: 121.2 kB / 0.707 GB, free: 19.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.2749, allocations: 252.4 kB / 0.7072 GB, free: 19.16 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/0.2749, allocations: 0 / 0.7072 GB, free: 19.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.3118, allocations: 19.47 MB / 0.7262 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.628, allocations: 14.62 kB / 0.7262 GB, free: 8.012 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.170802901498973] Failed to read output from testmodel.py, exit status != 0: 7.720777212642133 7.728204687 7.488723068 Calling exit ...