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.001907/0.001907, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002361/0.002361, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.789 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.002596/0.002596, allocations: 280.7 kB / 312.7 MB, free: 2.621 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.293/1.293, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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="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.003063/0.003063, allocations: 117.2 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1657, allocations: 95.37 MB / 0.8326 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004957/0.1707, allocations: 3.069 MB / 0.8356 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1731, allocations: 1.309 MB / 0.8369 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1732, allocations: 7.938 kB / 0.8369 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.1744, allocations: 329.1 kB / 0.8372 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.1747, allocations: 147.2 kB / 0.8374 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1751, allocations: 131.7 kB / 0.8375 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.1755, allocations: 310.9 kB / 0.8378 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1759, allocations: 180.6 kB / 0.838 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1761, allocations: 135.5 kB / 0.8381 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.1764, allocations: 131.5 kB / 0.8382 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.1764, allocations: 23.94 kB / 0.8382 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.1767, allocations: 151.6 kB / 0.8384 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.1768, allocations: 75.8 kB / 0.8384 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1769, allocations: 91.59 kB / 0.8385 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1774, allocations: 346.7 kB / 0.8389 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1774, allocations: 3.984 kB / 0.8389 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1774, allocations: 0 / 0.8389 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.1774, allocations: 4 kB / 0.8389 GB, free: 1.934 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.0008301/0.1782, allocations: 453.5 kB / 0.8393 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1783, allocations: 13.34 kB / 0.8393 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.1783, allocations: 62.7 kB / 0.8394 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005982/0.1789, allocations: 68.73 kB / 0.8394 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1793, allocations: 197.1 kB / 0.8396 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1793, allocations: 12.75 kB / 0.8396 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1793, allocations: 20.38 kB / 0.8397 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.1799, allocations: 376.2 kB / 0.84 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1799, allocations: 0 / 0.84 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.1799, allocations: 11.98 kB / 0.84 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.1799, allocations: 20.36 kB / 0.8401 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.1803, allocations: 200.8 kB / 0.8402 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.1817, allocations: 1.027 MB / 0.8412 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.182, allocations: 98.55 kB / 0.8413 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.182, allocations: 28.84 kB / 0.8414 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.182, allocations: 0 / 0.8414 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1821, allocations: 34.56 kB / 0.8414 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1821, allocations: 0 / 0.8414 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004533/0.1825, allocations: 154.5 kB / 0.8415 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1825, allocations: 55.41 kB / 0.8416 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.1828, allocations: 201.3 kB / 0.8418 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1828, allocations: 29.7 kB / 0.8418 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1829, allocations: 167.9 kB / 0.842 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1829, allocations: 27.78 kB / 0.842 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.183, allocations: 37.66 kB / 0.842 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1831, allocations: 326.8 kB / 0.8424 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.1832, allocations: 35.98 kB / 0.8424 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1833, allocations: 102.4 kB / 0.8425 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1835, allocations: 148.4 kB / 0.8426 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1835, allocations: 4.062 kB / 0.8426 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000332/0.1839, allocations: 190.2 kB / 0.8428 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1839, allocations: 8 kB / 0.8428 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.1839, allocations: 0 / 0.8428 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.184, allocations: 28.84 kB / 0.8428 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1842, allocations: 27.92 kB / 0.8429 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.1853, allocations: 1.315 MB / 0.8442 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1855, allocations: 19.98 kB / 0.8442 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1855, allocations: 7.938 kB / 0.8442 GB, free: 12.06 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.0001519/0.1856, allocations: 154.3 kB / 0.8443 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.1857, allocations: 15.91 kB / 0.8443 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.1857, allocations: 17.55 kB / 0.8444 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1857, allocations: 4 kB / 0.8444 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.1857, allocations: 0 / 0.8444 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1857, allocations: 4 kB / 0.8444 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.1863, allocations: 406.3 kB / 0.8448 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1863, allocations: 0 / 0.8448 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.1863, allocations: 8 kB / 0.8448 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.056e-05/0.1864, allocations: 24.78 kB / 0.8448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1864, allocations: 4 kB / 0.8448 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.1875, allocations: 1.319 MB / 0.8461 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1875, allocations: 0 / 0.8461 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1878, allocations: 216.2 kB / 0.8463 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.1878, allocations: 23.89 kB / 0.8463 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1878, allocations: 0 / 0.8463 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1879, allocations: 7.938 kB / 0.8463 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.188, allocations: 11.98 kB / 0.8463 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.188, allocations: 4.156 kB / 0.8463 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001468/0.1881, allocations: 147.1 kB / 0.8465 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1881, allocations: 0 / 0.8465 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003331/0.1885, allocations: 51.89 kB / 0.8465 GB, free: 9.465 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.0005723/0.189, allocations: 0.7405 MB / 0.8472 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.1894, allocations: 207.1 kB / 0.8474 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1894, allocations: 0 / 0.8474 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1896, allocations: 142.6 kB / 0.8476 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1899, allocations: 38.86 kB / 0.8476 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.1924, allocations: 2.064 MB / 0.8496 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.1925, allocations: 135.9 kB / 0.8498 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.1926, allocations: 21.48 kB / 0.8498 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.1927, allocations: 55.41 kB / 0.8498 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.1927, allocations: 0 / 0.8498 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.2263, allocations: 4.378 MB / 0.8541 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.69, allocations: 11.02 kB / 0.8541 GB, free: 1.656 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 & 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: 15.946865485981107] Failed to read output from testmodel.py, exit status != 0: 11.801699967123568 11.817335559 11.63687845 Calling exit ...