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.001217/0.001217, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001601/0.001601, allocations: 212 kB / 19.43 MB, free: 3.637 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] 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.00246/0.00246, allocations: 284.4 kB / 309.1 MB, free: 3.973 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 1.166/1.166, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="me",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.002708/0.002708, allocations: 106.7 kB / 0.7342 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1617, allocations: 95.34 MB / 0.8273 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004668/0.1663, allocations: 3.126 MB / 0.8304 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1684, allocations: 1.387 MB / 0.8317 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.1685, allocations: 4 kB / 0.8317 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.1695, allocations: 346.7 kB / 0.8321 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.1698, allocations: 143.3 kB / 0.8322 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.1701, allocations: 131.6 kB / 0.8323 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.1704, allocations: 310.9 kB / 0.8326 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.1708, allocations: 180.4 kB / 0.8328 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1709, allocations: 131.5 kB / 0.8329 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1712, allocations: 151.5 kB / 0.8331 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.1712, allocations: 20 kB / 0.8331 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1715, allocations: 167.6 kB / 0.8333 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.1716, allocations: 87.72 kB / 0.8333 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1717, allocations: 107.5 kB / 0.8334 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.1721, allocations: 334.8 kB / 0.8338 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1721, allocations: 0 / 0.8338 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1721, allocations: 0 / 0.8338 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1722, allocations: 0 / 0.8338 GB, free: 3.258 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.0007747/0.1729, allocations: 0.5298 MB / 0.8343 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.173, allocations: 8.031 kB / 0.8343 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/0.173, allocations: 58.67 kB / 0.8343 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.1736, allocations: 80.72 kB / 0.8344 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1739, allocations: 236 kB / 0.8346 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1739, allocations: 20.75 kB / 0.8347 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.1739, allocations: 20.36 kB / 0.8347 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.1744, allocations: 302.8 kB / 0.835 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1744, allocations: 0 / 0.835 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1744, allocations: 12 kB / 0.835 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.1745, allocations: 16.36 kB / 0.835 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.1748, allocations: 197 kB / 0.8352 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.1763, allocations: 1.468 MB / 0.8366 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1766, allocations: 167.7 kB / 0.8368 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.1766, allocations: 28.84 kB / 0.8368 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.1766, allocations: 4 kB / 0.8368 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1767, allocations: 34.56 kB / 0.8368 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1767, allocations: 0 / 0.8368 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004767/0.1771, allocations: 223.5 kB / 0.8371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1772, allocations: 55.41 kB / 0.8371 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1774, allocations: 200.6 kB / 0.8373 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1774, allocations: 33.64 kB / 0.8373 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1775, allocations: 176 kB / 0.8375 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1775, allocations: 23.81 kB / 0.8375 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.1776, allocations: 37.7 kB / 0.8376 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1777, allocations: 330.7 kB / 0.8379 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.1778, allocations: 35.98 kB / 0.8379 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1779, allocations: 100.6 kB / 0.838 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1781, allocations: 144.4 kB / 0.8381 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1781, allocations: 4 kB / 0.8382 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003031/0.1784, allocations: 190.3 kB / 0.8383 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1784, allocations: 5.406 kB / 0.8383 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1784, allocations: 4 kB / 0.8383 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.1786, allocations: 24.84 kB / 0.8384 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1787, allocations: 31.92 kB / 0.8384 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1799, allocations: 1.422 MB / 0.8398 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.18, allocations: 15.84 kB / 0.8398 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.18, allocations: 8 kB / 0.8398 GB, free: 12.46 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.0001309/0.1802, allocations: 150.6 kB / 0.8399 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1802, allocations: 15.91 kB / 0.84 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.1802, allocations: 21.45 kB / 0.84 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1802, allocations: 8.031 kB / 0.84 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1802, allocations: 0 / 0.84 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1802, allocations: 0 / 0.84 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.1808, allocations: 451.2 kB / 0.8404 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1808, allocations: 4 kB / 0.8404 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.1808, allocations: 4.094 kB / 0.8404 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.946e-05/0.1809, allocations: 32.72 kB / 0.8405 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1809, allocations: 0 / 0.8405 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.1819, allocations: 1.406 MB / 0.8418 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1819, allocations: 4 kB / 0.8418 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1822, allocations: 220.3 kB / 0.842 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.1823, allocations: 93 kB / 0.8421 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1823, allocations: 4 kB / 0.8421 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1824, allocations: 4 kB / 0.8421 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.1824, allocations: 7.984 kB / 0.8422 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1824, allocations: 0 / 0.8422 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001279/0.1825, allocations: 143.2 kB / 0.8423 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1825, allocations: 3.938 kB / 0.8423 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003347/0.1829, allocations: 55.89 kB / 0.8423 GB, free: 9.617 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.0005283/0.1834, allocations: 0.7487 MB / 0.8431 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.1838, allocations: 206.7 kB / 0.8433 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1838, allocations: 0 / 0.8433 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1839, allocations: 150.7 kB / 0.8434 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1843, allocations: 42.81 kB / 0.8435 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.1865, allocations: 2.05 MB / 0.8455 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1869, allocations: 0.7436 MB / 0.8462 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.187, allocations: 25.72 kB / 0.8462 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.187, allocations: 55.41 kB / 0.8463 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.187, allocations: 3.938 kB / 0.8463 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.2157, allocations: 3.775 MB / 0.85 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.309/9.525, allocations: 3.609 kB / 0.85 GB, free: 1.754 MB / 0.5919 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 13.534334866795689] Failed to read output from testmodel.py, exit status != 0: 9.609651433769614 9.632067729 9.455588477 Calling exit ...