Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001392/0.001392, allocations: 104.6 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.001398/0.001398, 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.287/1.287, allocations: 225.6 MB / 247.8 MB, free: 3.742 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.002216/0.002216, allocations: 275.1 kB / 303 MB, free: 3.617 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.9608/0.9608, allocations: 180.9 MB / 0.5262 GB, free: 2.77 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_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 103.8 kB / 0.7248 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4566, allocations: 94.16 MB / 0.8167 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006377/0.463, allocations: 6.826 MB / 0.8234 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004005/0.467, allocations: 3.071 MB / 0.8264 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.4674, allocations: 23.84 kB / 0.8264 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.4695, allocations: 0.9678 MB / 0.8274 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.4706, allocations: 0.5211 MB / 0.8279 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.4716, allocations: 415.8 kB / 0.8283 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.4727, allocations: 1.227 MB / 0.8295 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006958/0.4734, allocations: 0.5322 MB / 0.83 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.474, allocations: 483.2 kB / 0.8304 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006427/0.4746, allocations: 0.543 MB / 0.831 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.4747, allocations: 67.12 kB / 0.831 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006081/0.4753, allocations: 387.6 kB / 0.8314 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.4756, allocations: 311.9 kB / 0.8317 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.476, allocations: 450.5 kB / 0.8321 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4772, allocations: 1.221 MB / 0.8333 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4772, allocations: 3.312 kB / 0.8333 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4772, allocations: 0 / 0.8333 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.4772, allocations: 0 / 0.8333 GB, free: 13.17 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.001802/0.479, allocations: 1.187 MB / 0.8345 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4791, allocations: 11.97 kB / 0.8345 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.4792, allocations: 116.8 kB / 0.8346 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.4806, allocations: 242.8 kB / 0.8348 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.4815, allocations: 0.6018 MB / 0.8354 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.4815, allocations: 48.95 kB / 0.8355 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.4816, allocations: 61.31 kB / 0.8355 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.483, allocations: 1.083 MB / 0.8366 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.4831, allocations: 11.39 kB / 0.8366 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.4831, allocations: 38.05 kB / 0.8366 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.4833, allocations: 83.73 kB / 0.8367 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.4845, allocations: 0.7491 MB / 0.8374 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005754/0.4902, allocations: 5.876 MB / 0.8432 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.4912, allocations: 0.5284 MB / 0.8437 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.4916, allocations: 286.9 kB / 0.844 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.4916, allocations: 5.781 kB / 0.844 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4917, allocations: 42.31 kB / 0.844 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.663e-06/0.4917, allocations: 0 / 0.844 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003636/0.4953, allocations: 1.985 MB / 0.846 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4953, allocations: 64.39 kB / 0.846 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.496, allocations: 0.5505 MB / 0.8466 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.496, allocations: 32.58 kB / 0.8466 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.4963, allocations: 430 kB / 0.847 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.4964, allocations: 181.5 kB / 0.8472 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4966, allocations: 128.8 kB / 0.8473 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4968, allocations: 373.1 kB / 0.8477 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.4972, allocations: 275.1 kB / 0.8479 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.4978, allocations: 498.9 kB / 0.8484 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4988, allocations: 0.8025 MB / 0.8492 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4988, allocations: 2 kB / 0.8492 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001737/0.5005, allocations: 1.082 MB / 0.8502 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5005, allocations: 13.09 kB / 0.8502 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5005, allocations: 6.562 kB / 0.8503 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007716/0.5013, allocations: 281.2 kB / 0.8505 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.5018, allocations: 125.4 kB / 0.8506 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006553/0.5083, allocations: 7.137 MB / 0.8576 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.5089, allocations: 39.77 kB / 0.8576 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.5089, allocations: 32.39 kB / 0.8577 GB, free: 11.33 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.0003577/0.5093, allocations: 255.2 kB / 0.8579 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5094, allocations: 80.34 kB / 0.858 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.5109, allocations: 0.881 MB / 0.8589 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5109, allocations: 5.375 kB / 0.8589 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5109, allocations: 7.812 kB / 0.8589 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5109, allocations: 3.438 kB / 0.8589 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.5135, allocations: 1.714 MB / 0.8605 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5135, allocations: 5.812 kB / 0.8606 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.5138, allocations: 59.84 kB / 0.8606 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/0.5146, allocations: 270.1 kB / 0.8609 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.5146, allocations: 7.906 kB / 0.8609 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/0.5215, allocations: 7.124 MB / 0.8678 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5215, allocations: 1.062 kB / 0.8678 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.5231, allocations: 0.9785 MB / 0.8688 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.5234, allocations: 193 kB / 0.869 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.5235, allocations: 16.19 kB / 0.869 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.5239, allocations: 29.25 kB / 0.869 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.524, allocations: 42.69 kB / 0.8691 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.524, allocations: 19.59 kB / 0.8691 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004491/0.5245, allocations: 386 kB / 0.8694 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5245, allocations: 4 kB / 0.8694 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008126/0.5253, allocations: 224.7 kB / 0.8697 GB, free: 1.672 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 (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.001731/0.527, allocations: 1.538 MB / 0.8712 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.5289, allocations: 1.232 MB / 0.8724 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5289, allocations: 1.281 kB / 0.8724 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.5301, allocations: 0.8679 MB / 0.8732 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009334/0.5311, allocations: 210.5 kB / 0.8734 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008195/0.5393, allocations: 6.37 MB / 0.8796 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.5399, allocations: 1.009 MB / 0.8806 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003912/0.5403, allocations: 123.8 kB / 0.8807 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.5406, allocations: 249.7 kB / 0.881 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.5406, allocations: 0 / 0.881 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/0.5952, allocations: 17.52 MB / 0.8981 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.62/10.22, allocations: 6.953 kB / 0.8981 GB, free: 11.32 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.717284092213959] Failed to read output from testmodel.py, exit status != 0: 10.312535096891224 10.33298956 9.851853252 Calling exit ...