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.001291/0.001291, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.001402/0.001402, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.002777/0.002777, allocations: 280 kB / 309.8 MB, free: 3.48 MB / 238.1 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 1.076/1.076, allocations: 180.6 MB / 0.5338 GB, free: 12.32 MB / 398.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002931/0.002931, allocations: 99.84 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5122, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008037/0.5203, allocations: 6.905 MB / 0.8345 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005601/0.5259, allocations: 3.134 MB / 0.8376 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007787/0.5266, allocations: 40.78 kB / 0.8376 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.5293, allocations: 0.9538 MB / 0.8386 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.5308, allocations: 0.5248 MB / 0.8391 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.5322, allocations: 452.1 kB / 0.8395 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.5338, allocations: 1.23 MB / 0.8407 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008447/0.5346, allocations: 0.5432 MB / 0.8412 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007532/0.5354, allocations: 489.8 kB / 0.8417 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.5361, allocations: 0.5442 MB / 0.8422 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.5362, allocations: 67.41 kB / 0.8423 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/0.537, allocations: 392.9 kB / 0.8427 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.5374, allocations: 322.5 kB / 0.843 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004844/0.5379, allocations: 451.7 kB / 0.8434 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.5395, allocations: 1.219 MB / 0.8446 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5395, allocations: 1.891 kB / 0.8446 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5395, allocations: 0 / 0.8446 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.5395, allocations: 0 / 0.8446 GB, free: 8.926 MB / 0.5919 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.002367/0.5419, allocations: 1.191 MB / 0.8458 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.542, allocations: 9.5 kB / 0.8458 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.598e-05/0.542, allocations: 18.28 kB / 0.8458 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.5422, allocations: 119.1 kB / 0.8459 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.5439, allocations: 248.2 kB / 0.8461 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5449, allocations: 0.6127 MB / 0.8467 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.5449, allocations: 51.3 kB / 0.8468 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.5451, allocations: 62.03 kB / 0.8468 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.5467, allocations: 1.088 MB / 0.8479 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.5467, allocations: 7.938 kB / 0.8479 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.5468, allocations: 28.88 kB / 0.8479 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.547, allocations: 88.34 kB / 0.848 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5482, allocations: 0.7538 MB / 0.8488 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005989/0.5542, allocations: 5.89 MB / 0.8545 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/0.5551, allocations: 0.5054 MB / 0.855 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.5556, allocations: 287.2 kB / 0.8553 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.5556, allocations: 8.25 kB / 0.8553 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5556, allocations: 39.59 kB / 0.8553 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.5556, allocations: 0 / 0.8553 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004023/0.5596, allocations: 1.993 MB / 0.8573 GB, free: 156 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.5597, allocations: 57.03 kB / 0.8573 GB, free: 92 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.5604, allocations: 0.5634 MB / 0.8579 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.5604, allocations: 32.84 kB / 0.8579 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.5608, allocations: 427.4 kB / 0.8583 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.5609, allocations: 180.4 kB / 0.8585 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.5612, allocations: 128.2 kB / 0.8586 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5614, allocations: 378.9 kB / 0.859 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.5618, allocations: 276.1 kB / 0.8592 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.5623, allocations: 0.4923 MB / 0.8597 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.5634, allocations: 0.8143 MB / 0.8605 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5634, allocations: 2.344 kB / 0.8605 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001894/0.5653, allocations: 1.082 MB / 0.8616 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5653, allocations: 7.75 kB / 0.8616 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5653, allocations: 6.719 kB / 0.8616 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008443/0.5662, allocations: 273.7 kB / 0.8618 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.5666, allocations: 125.3 kB / 0.862 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007113/0.5738, allocations: 7.144 MB / 0.8689 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.5745, allocations: 37.84 kB / 0.869 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.5745, allocations: 31.38 kB / 0.869 GB, free: 6.309 MB / 0.6075 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.0004048/0.5749, allocations: 258.8 kB / 0.8693 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.575, allocations: 72.7 kB / 0.8693 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.5767, allocations: 0.8822 MB / 0.8702 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5767, allocations: 4.938 kB / 0.8702 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5767, allocations: 3.938 kB / 0.8702 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.5767, allocations: 3.984 kB / 0.8702 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.5794, allocations: 1.718 MB / 0.8719 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5794, allocations: 1.188 kB / 0.8719 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.5797, allocations: 63.86 kB / 0.8719 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007776/0.5805, allocations: 262.6 kB / 0.8722 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.5805, allocations: 11.41 kB / 0.8722 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007193/0.5877, allocations: 7.128 MB / 0.8792 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5877, allocations: 2.688 kB / 0.8792 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.5895, allocations: 0.9826 MB / 0.8801 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.5899, allocations: 193 kB / 0.8803 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.59, allocations: 21.2 kB / 0.8803 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.5903, allocations: 27.94 kB / 0.8804 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5905, allocations: 39.7 kB / 0.8804 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.5905, allocations: 15.5 kB / 0.8804 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004865/0.591, allocations: 395.6 kB / 0.8808 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.591, allocations: 0 / 0.8808 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008633/0.5919, allocations: 225.4 kB / 0.881 GB, free: 12.41 MB / 0.6231 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.001992/0.5939, allocations: 1.539 MB / 0.8825 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.5959, allocations: 1.24 MB / 0.8837 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5959, allocations: 1.969 kB / 0.8837 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.5973, allocations: 0.8659 MB / 0.8846 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5984, allocations: 222.7 kB / 0.8848 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009599/0.608, allocations: 6.397 MB / 0.891 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.6088, allocations: 1.008 MB / 0.892 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004466/0.6092, allocations: 123.4 kB / 0.8921 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.6096, allocations: 255.1 kB / 0.8924 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of SimCode: time 1.163e-06/0.6096, allocations: 3.938 kB / 0.8924 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05254/0.6621, allocations: 17.68 MB / 0.9096 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.87, allocations: 10.73 kB / 0.9097 GB, free: 3.867 MB / 0.6387 GB " [Timeout remaining time 648] (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: 15.884355387999676] Failed to read output from testmodel.py, exit status != 0: 12.029041617992334 12.044064049 11.501356481 Calling exit ...