Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.001188/0.001188, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001447/0.001447, allocations: 220 kB / 23.03 MB, free: 4.922 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002611/0.002611, allocations: 275.3 kB / 313.5 MB, free: 2.609 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.288/1.288, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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 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.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",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.002827/0.002827, allocations: 109.8 kB / 0.7402 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1559, allocations: 95.39 MB / 0.8334 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004955/0.1608, allocations: 3.06 MB / 0.8364 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.163, allocations: 1.297 MB / 0.8376 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1631, allocations: 7.938 kB / 0.8377 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1642, allocations: 331.5 kB / 0.838 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1645, allocations: 155.2 kB / 0.8381 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1648, allocations: 133.6 kB / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.1652, allocations: 307 kB / 0.8385 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.1656, allocations: 176.6 kB / 0.8387 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1658, allocations: 139.5 kB / 0.8388 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.1661, allocations: 139.5 kB / 0.839 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.1661, allocations: 23.94 kB / 0.839 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.1664, allocations: 147.7 kB / 0.8391 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1665, allocations: 83.8 kB / 0.8392 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1666, allocations: 91.59 kB / 0.8393 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.167, allocations: 342.8 kB / 0.8396 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.167, allocations: 0 / 0.8396 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.167, allocations: 0 / 0.8396 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1671, allocations: 0 / 0.8396 GB, free: 1.879 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007851/0.1678, allocations: 461.4 kB / 0.8401 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1679, allocations: 9.938 kB / 0.8401 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.444e-05/0.1679, allocations: 4.562 kB / 0.8401 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.168, allocations: 62.72 kB / 0.8401 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.1685, allocations: 80.72 kB / 0.8402 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1688, allocations: 184.6 kB / 0.8404 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1688, allocations: 16.75 kB / 0.8404 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1689, allocations: 16.38 kB / 0.8404 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.1694, allocations: 384 kB / 0.8408 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1694, allocations: 4 kB / 0.8408 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1695, allocations: 12 kB / 0.8408 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.1695, allocations: 16.36 kB / 0.8408 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.1698, allocations: 196.9 kB / 0.841 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.1712, allocations: 1.031 MB / 0.842 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1714, allocations: 94.61 kB / 0.8421 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.1715, allocations: 32.78 kB / 0.8421 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.1715, allocations: 0 / 0.8421 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.1716, allocations: 38.56 kB / 0.8422 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1716, allocations: 0 / 0.8422 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004791/0.172, allocations: 146.7 kB / 0.8423 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1721, allocations: 55.41 kB / 0.8424 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1723, allocations: 204.7 kB / 0.8426 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1723, allocations: 29.64 kB / 0.8426 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1725, allocations: 168 kB / 0.8428 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1725, allocations: 23.81 kB / 0.8428 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.1726, allocations: 37.7 kB / 0.8428 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1727, allocations: 326.8 kB / 0.8431 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.1728, allocations: 35.98 kB / 0.8432 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1729, allocations: 104.5 kB / 0.8433 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1731, allocations: 144.4 kB / 0.8434 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.1731, allocations: 4 kB / 0.8434 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003597/0.1735, allocations: 186.2 kB / 0.8436 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1735, allocations: 10.62 kB / 0.8436 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1735, allocations: 4 kB / 0.8436 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.1737, allocations: 20.84 kB / 0.8436 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1738, allocations: 39.86 kB / 0.8436 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.1751, allocations: 1.311 MB / 0.8449 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1752, allocations: 16 kB / 0.8449 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1752, allocations: 12 kB / 0.845 GB, free: 11.99 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.1754, allocations: 150.4 kB / 0.8451 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.1754, allocations: 16.03 kB / 0.8451 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.1754, allocations: 21.34 kB / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1754, allocations: 0 / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1754, allocations: 0 / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1754, allocations: 0 / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.176, allocations: 418.2 kB / 0.8455 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.176, allocations: 8 kB / 0.8455 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.1761, allocations: 8 kB / 0.8455 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.748e-05/0.1761, allocations: 20.84 kB / 0.8456 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1762, allocations: 0 / 0.8456 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.1773, allocations: 1.319 MB / 0.8469 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1773, allocations: 160 / 0.8469 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1775, allocations: 216.2 kB / 0.8471 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1776, allocations: 19.88 kB / 0.8471 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1776, allocations: 4 kB / 0.8471 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1777, allocations: 7.938 kB / 0.8471 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.1777, allocations: 3.984 kB / 0.8471 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1777, allocations: 4 kB / 0.8471 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001349/0.1779, allocations: 143.1 kB / 0.8472 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1779, allocations: 4 kB / 0.8472 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003363/0.1782, allocations: 59.78 kB / 0.8473 GB, free: 9.395 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005671/0.1788, allocations: 0.7405 MB / 0.848 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.1792, allocations: 198.6 kB / 0.8482 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1792, allocations: 4 kB / 0.8482 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.1793, allocations: 146.6 kB / 0.8484 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1797, allocations: 35.94 kB / 0.8484 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1821, allocations: 2.052 MB / 0.8504 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.1823, allocations: 135.9 kB / 0.8505 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.284e-05/0.1824, allocations: 37.44 kB / 0.8506 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.1824, allocations: 51.42 kB / 0.8506 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1824, allocations: 0 / 0.8506 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.2101, allocations: 4.066 MB / 0.8546 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.81, allocations: 12.52 kB / 0.8546 GB, free: 1.914 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.0046395160025] Failed to read output from testmodel.py, exit status != 0: 11.97753304708749 12.002688277 11.831068323 Calling exit ...