Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.00127/0.00127, allocations: 110.6 kB / 18.94 MB, free: 2.953 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.002112/0.002112, allocations: 211.5 kB / 22.25 MB, free: 5.137 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.988 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.002516/0.002516, allocations: 292.2 kB / 312.7 MB, free: 2.812 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.232/1.232, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",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.002816/0.002816, allocations: 100.7 kB / 0.7396 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1632, allocations: 95.39 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005904/0.1691, allocations: 3.977 MB / 0.8366 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.1721, allocations: 1.819 MB / 0.8384 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.1723, allocations: 11.94 kB / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.1738, allocations: 0.5163 MB / 0.8389 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.1743, allocations: 218.9 kB / 0.8391 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.1748, allocations: 207.5 kB / 0.8393 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.1754, allocations: 486.3 kB / 0.8398 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.176, allocations: 285.5 kB / 0.84 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.1762, allocations: 203.2 kB / 0.8402 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.1767, allocations: 219.2 kB / 0.8404 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.1767, allocations: 31.98 kB / 0.8405 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.1772, allocations: 255.4 kB / 0.8407 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.1773, allocations: 127.6 kB / 0.8408 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1775, allocations: 175.2 kB / 0.841 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.1782, allocations: 0.4981 MB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1782, allocations: 4 kB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1782, allocations: 0 / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.1782, allocations: 0 / 0.8415 GB, free: 15.62 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001057/0.1792, allocations: 0.5674 MB / 0.8421 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1793, allocations: 9.344 kB / 0.8421 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.641e-05/0.1794, allocations: 66.73 kB / 0.8421 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/0.1803, allocations: 144.5 kB / 0.8423 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1807, allocations: 233.9 kB / 0.8425 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.1808, allocations: 25.02 kB / 0.8425 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.1808, allocations: 24.38 kB / 0.8425 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006985/0.1815, allocations: 471.6 kB / 0.843 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1815, allocations: 0 / 0.843 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.1816, allocations: 15.98 kB / 0.843 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/0.1816, allocations: 36.64 kB / 0.843 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.1821, allocations: 326.2 kB / 0.8433 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.1844, allocations: 2.143 MB / 0.8454 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.1848, allocations: 162.7 kB / 0.8456 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.185, allocations: 104.7 kB / 0.8457 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.185, allocations: 4 kB / 0.8457 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.185, allocations: 30.56 kB / 0.8457 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.185, allocations: 4 kB / 0.8457 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0005619/0.1856, allocations: 215.8 kB / 0.8459 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1857, allocations: 55.66 kB / 0.846 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.1859, allocations: 277.8 kB / 0.8463 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.186, allocations: 25.7 kB / 0.8463 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1861, allocations: 208.2 kB / 0.8465 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.1862, allocations: 51.62 kB / 0.8465 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.1862, allocations: 45.91 kB / 0.8466 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1864, allocations: 338.8 kB / 0.8469 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.1865, allocations: 52.44 kB / 0.8469 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1866, allocations: 156.7 kB / 0.8471 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1869, allocations: 225 kB / 0.8473 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1869, allocations: 4 kB / 0.8473 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004305/0.1873, allocations: 258 kB / 0.8476 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1874, allocations: 8.375 kB / 0.8476 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1874, allocations: 4 kB / 0.8476 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.1875, allocations: 28.84 kB / 0.8476 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.1877, allocations: 47.92 kB / 0.8476 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.1889, allocations: 1.326 MB / 0.8489 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.189, allocations: 23.84 kB / 0.849 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.189, allocations: 8 kB / 0.849 GB, free: 7.383 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001877/0.1892, allocations: 178.4 kB / 0.8491 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.1893, allocations: 27.81 kB / 0.8492 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.1893, allocations: 29.77 kB / 0.8492 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1893, allocations: 0 / 0.8492 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1893, allocations: 0 / 0.8492 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1893, allocations: 4 kB / 0.8492 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009619/0.1903, allocations: 0.6666 MB / 0.8498 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1903, allocations: 7.938 kB / 0.8499 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.1904, allocations: 19.98 kB / 0.8499 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-05/0.1905, allocations: 28.78 kB / 0.8499 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1905, allocations: 12.25 kB / 0.8499 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.1916, allocations: 1.319 MB / 0.8512 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1916, allocations: 4.031 kB / 0.8512 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.192, allocations: 311.8 kB / 0.8515 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.1921, allocations: 47.72 kB / 0.8515 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1921, allocations: 0 / 0.8515 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1922, allocations: 12 kB / 0.8516 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.1923, allocations: 19.84 kB / 0.8516 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1923, allocations: 16 kB / 0.8516 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001944/0.1925, allocations: 185.2 kB / 0.8518 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1925, allocations: 0 / 0.8518 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003976/0.1929, allocations: 71.89 kB / 0.8518 GB, free: 4.203 MB / 0.5919 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 (14): * Single equations (assignments): 13 * 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.0006754/0.1936, allocations: 0.8508 MB / 0.8527 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.194, allocations: 274.4 kB / 0.8529 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.194, allocations: 0 / 0.8529 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.1942, allocations: 174.6 kB / 0.8531 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1947, allocations: 65.44 kB / 0.8532 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.198, allocations: 2.741 MB / 0.8558 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1984, allocations: 0.7985 MB / 0.8566 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000147/0.1986, allocations: 50.23 kB / 0.8567 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.1987, allocations: 83.41 kB / 0.8567 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.1987, allocations: 0 / 0.8567 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.2357, allocations: 5.605 MB / 0.8622 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.79, allocations: 22.41 kB / 0.8622 GB, free: 9.441 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor_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_Loads_Examples_Resistor.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.989527413999895] Failed to read output from testmodel.py, exit status != 0: 10.903119262999098 10.930057702 10.746828904000001 Calling exit ...