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.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.001309/0.001309, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001394/0.001394, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.00247/0.00247, allocations: 288 kB / 309.8 MB, free: 3.418 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.104/1.104, allocations: 180.6 MB / 0.5338 GB, free: 12.36 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",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="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.003001/0.003001, allocations: 111.8 kB / 0.7347 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5974, allocations: 95.33 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008158/0.6055, allocations: 6.843 MB / 0.8345 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00583/0.6114, allocations: 3.108 MB / 0.8375 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.6121, allocations: 39.28 kB / 0.8375 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.6148, allocations: 0.9565 MB / 0.8385 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.6163, allocations: 0.5265 MB / 0.839 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.6176, allocations: 422.6 kB / 0.8394 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.6191, allocations: 1.224 MB / 0.8406 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.62, allocations: 0.5341 MB / 0.8411 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.6207, allocations: 491.2 kB / 0.8416 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.6215, allocations: 0.5427 MB / 0.8421 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.6217, allocations: 67.66 kB / 0.8422 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008398/0.6225, allocations: 388.5 kB / 0.8425 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.6229, allocations: 321.3 kB / 0.8428 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000597/0.6235, allocations: 448.7 kB / 0.8433 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.6255, allocations: 1.213 MB / 0.8445 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6255, allocations: 4 kB / 0.8445 GB, free: 9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6255, allocations: 1.25 kB / 0.8445 GB, free: 9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.6255, allocations: 0 / 0.8445 GB, free: 9 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.002587/0.6281, allocations: 1.181 MB / 0.8456 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.6281, allocations: 9.531 kB / 0.8456 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.45e-05/0.6282, allocations: 22.31 kB / 0.8456 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/0.6284, allocations: 126.8 kB / 0.8458 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.6302, allocations: 243.2 kB / 0.846 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.6314, allocations: 0.5891 MB / 0.8466 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.6315, allocations: 55.03 kB / 0.8466 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.6316, allocations: 62.7 kB / 0.8467 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.6334, allocations: 1.088 MB / 0.8478 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.6335, allocations: 7.328 kB / 0.8478 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.6336, allocations: 34.59 kB / 0.8478 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.6337, allocations: 83.53 kB / 0.8479 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.6351, allocations: 0.7571 MB / 0.8486 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006434/0.6415, allocations: 5.877 MB / 0.8543 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.6426, allocations: 0.5159 MB / 0.8549 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/0.6431, allocations: 287.8 kB / 0.8551 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.6431, allocations: 4.75 kB / 0.8551 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.6431, allocations: 42.98 kB / 0.8552 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/0.6431, allocations: 4 kB / 0.8552 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004369/0.6475, allocations: 1.98 MB / 0.8571 GB, free: 244 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6476, allocations: 57.47 kB / 0.8572 GB, free: 180 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007945/0.6484, allocations: 0.554 MB / 0.8577 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.6484, allocations: 36.02 kB / 0.8577 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.6487, allocations: 427.1 kB / 0.8581 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.6489, allocations: 179.6 kB / 0.8583 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.6491, allocations: 133.7 kB / 0.8584 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.6493, allocations: 373.3 kB / 0.8588 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.6498, allocations: 275.7 kB / 0.8591 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.6504, allocations: 0.4899 MB / 0.8595 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.6515, allocations: 0.8144 MB / 0.8603 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6515, allocations: 1.469 kB / 0.8603 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002031/0.6536, allocations: 1.082 MB / 0.8614 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.6536, allocations: 8 kB / 0.8614 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6536, allocations: 8.031 kB / 0.8614 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009307/0.6545, allocations: 273.1 kB / 0.8617 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.655, allocations: 131.9 kB / 0.8618 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.6624, allocations: 7.14 MB / 0.8688 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/0.6631, allocations: 37.83 kB / 0.8688 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.6632, allocations: 31.38 kB / 0.8688 GB, free: 6.422 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.0004383/0.6636, allocations: 257.3 kB / 0.8691 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.6638, allocations: 76.77 kB / 0.8692 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.6655, allocations: 0.8782 MB / 0.87 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6655, allocations: 5.719 kB / 0.87 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6655, allocations: 2.719 kB / 0.87 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6655, allocations: 5.234 kB / 0.87 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.6684, allocations: 1.717 MB / 0.8717 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6684, allocations: 1.812 kB / 0.8717 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.6687, allocations: 66.22 kB / 0.8718 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008258/0.6695, allocations: 266.5 kB / 0.872 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.6696, allocations: 8.375 kB / 0.872 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/0.6768, allocations: 7.133 MB / 0.879 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6768, allocations: 1.406 kB / 0.879 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.6786, allocations: 0.9778 MB / 0.88 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.679, allocations: 197.9 kB / 0.8801 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.6791, allocations: 16.31 kB / 0.8802 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.6795, allocations: 29.22 kB / 0.8802 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6796, allocations: 39.38 kB / 0.8802 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.6797, allocations: 13.59 kB / 0.8802 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004902/0.6802, allocations: 389.9 kB / 0.8806 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.6802, allocations: 0 / 0.8806 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009975/0.6812, allocations: 225.3 kB / 0.8808 GB, free: 12.52 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.002065/0.6832, allocations: 1.526 MB / 0.8823 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.6855, allocations: 1.243 MB / 0.8835 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6855, allocations: 1.938 kB / 0.8835 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.6869, allocations: 0.8592 MB / 0.8844 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6881, allocations: 232.6 kB / 0.8846 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.6982, allocations: 6.367 MB / 0.8908 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007115/0.6989, allocations: 1.006 MB / 0.8918 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004578/0.6993, allocations: 127.5 kB / 0.8919 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.6997, allocations: 252.5 kB / 0.8922 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/0.6997, allocations: 1.25 kB / 0.8922 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.7515, allocations: 17.56 MB / 0.9093 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.07, allocations: 10.97 kB / 0.9093 GB, free: 4.199 MB / 0.6387 GB " [Timeout remaining time 648] (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: 16.229239559033886] Failed to read output from testmodel.py, exit status != 0: 12.227917666023131 12.242426264 11.613848027 Calling exit ...