Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00224/0.00224, allocations: 283.3 kB / 303 MB, free: 3.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9636/0.9636, allocations: 180.9 MB / 0.5261 GB, free: 2.766 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 95.84 kB / 0.7248 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4319, allocations: 94.16 MB / 0.8167 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005918/0.4379, allocations: 6.182 MB / 0.8228 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.4417, allocations: 3.176 MB / 0.8259 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.4419, allocations: 30.41 kB / 0.8259 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.4439, allocations: 0.937 MB / 0.8268 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008647/0.4447, allocations: 492.8 kB / 0.8273 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4458, allocations: 493.6 kB / 0.8277 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009931/0.4468, allocations: 1.094 MB / 0.8288 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.4474, allocations: 0.5072 MB / 0.8293 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.4479, allocations: 454.3 kB / 0.8297 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005413/0.4484, allocations: 0.4904 MB / 0.8302 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.4485, allocations: 60.81 kB / 0.8303 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.4492, allocations: 490.3 kB / 0.8307 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.4495, allocations: 294.4 kB / 0.831 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.4498, allocations: 400 kB / 0.8314 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.4511, allocations: 1.181 MB / 0.8326 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4511, allocations: 0 / 0.8326 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4511, allocations: 0 / 0.8326 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4511, allocations: 0 / 0.8326 GB, free: 13.69 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001518/0.4526, allocations: 1.077 MB / 0.8336 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.4527, allocations: 9.156 kB / 0.8336 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.4528, allocations: 117.1 kB / 0.8337 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.4541, allocations: 224.2 kB / 0.8339 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.455, allocations: 0.5852 MB / 0.8345 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.4551, allocations: 47.53 kB / 0.8346 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.4552, allocations: 69.75 kB / 0.8346 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.4565, allocations: 1.029 MB / 0.8356 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.4565, allocations: 15.58 kB / 0.8356 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.4566, allocations: 34.2 kB / 0.8357 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.172e-05/0.4566, allocations: 67.98 kB / 0.8357 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009728/0.4576, allocations: 0.6898 MB / 0.8364 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005267/0.4629, allocations: 5.738 MB / 0.842 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.4638, allocations: 0.5545 MB / 0.8426 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008737/0.4646, allocations: 395 kB / 0.8429 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.4647, allocations: 4.219 kB / 0.8429 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4647, allocations: 37.34 kB / 0.843 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.354e-06/0.4647, allocations: 0.6562 kB / 0.843 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.00415/0.4689, allocations: 2.01 MB / 0.8449 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4689, allocations: 60.23 kB / 0.845 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.4694, allocations: 462.2 kB / 0.8454 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4694, allocations: 31.48 kB / 0.8455 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.4697, allocations: 394.5 kB / 0.8458 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.4698, allocations: 164.2 kB / 0.846 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.47, allocations: 109 kB / 0.8461 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4701, allocations: 364.7 kB / 0.8465 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.4705, allocations: 242.3 kB / 0.8467 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.471, allocations: 454.9 kB / 0.8471 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.4719, allocations: 0.7441 MB / 0.8478 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4719, allocations: 2.594 kB / 0.8478 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001715/0.4736, allocations: 1.032 MB / 0.8489 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4736, allocations: 8.156 kB / 0.8489 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.4736, allocations: 10.94 kB / 0.8489 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/0.4745, allocations: 324.5 kB / 0.8492 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.4748, allocations: 96.89 kB / 0.8493 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006976/0.4818, allocations: 7.478 MB / 0.8566 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.4822, allocations: 33.44 kB / 0.8566 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.4822, allocations: 24.78 kB / 0.8566 GB, free: 11.86 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.4825, allocations: 240.4 kB / 0.8569 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.4826, allocations: 69 kB / 0.8569 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.4842, allocations: 0.8776 MB / 0.8578 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4842, allocations: 4.125 kB / 0.8578 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4842, allocations: 8.125 kB / 0.8578 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4842, allocations: 2.109 kB / 0.8578 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.4868, allocations: 1.658 MB / 0.8594 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4868, allocations: 2.531 kB / 0.8594 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.4869, allocations: 41.03 kB / 0.8595 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008264/0.4877, allocations: 311.1 kB / 0.8598 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.4878, allocations: 11.62 kB / 0.8598 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/0.4945, allocations: 7.469 MB / 0.8671 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4945, allocations: 5.188 kB / 0.8671 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.496, allocations: 0.9796 MB / 0.868 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.4963, allocations: 171.9 kB / 0.8682 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.4964, allocations: 12.5 kB / 0.8682 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.4966, allocations: 24.78 kB / 0.8682 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.4967, allocations: 45.39 kB / 0.8683 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.4967, allocations: 9.875 kB / 0.8683 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003274/0.497, allocations: 317.8 kB / 0.8686 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.497, allocations: 0 / 0.8686 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007356/0.4978, allocations: 192.8 kB / 0.8688 GB, free: 2.254 MB / 0.6075 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001796/0.4996, allocations: 1.538 MB / 0.8703 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.5013, allocations: 1.154 MB / 0.8714 GB, free: 256 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5013, allocations: 3.938 kB / 0.8714 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.5024, allocations: 0.8327 MB / 0.8722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.5033, allocations: 212.5 kB / 0.8724 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.5108, allocations: 5.825 MB / 0.8781 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.5115, allocations: 0.9893 MB / 0.8791 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.5119, allocations: 101.7 kB / 0.8792 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.5121, allocations: 222.9 kB / 0.8794 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.5121, allocations: 0 / 0.8794 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.5646, allocations: 15.41 MB / 0.8944 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.543/10.11, allocations: 11.81 kB / 0.8944 GB, free: 15.08 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.568502330686897] Failed to read output from testmodel.py, exit status != 0: 10.191824830137193 10.207241047 9.753153366 Calling exit ...