Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.001735/0.001735, allocations: 113 kB / 17.12 MB, free: 5.941 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.002278/0.002278, allocations: 208 kB / 20.09 MB, free: 2.992 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.035/1.035, allocations: 150 MB / 459.5 MB, free: 5.707 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002092/0.002092, allocations: 62.5 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1699, allocations: 89.14 MB / 0.7231 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004411/0.1743, allocations: 2.532 MB / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1757, allocations: 0.7868 MB / 0.7264 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1758, allocations: 0 / 0.7264 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.1771, allocations: 0.5764 MB / 0.7269 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1774, allocations: 111.5 kB / 0.7271 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.1778, allocations: 107.7 kB / 0.7272 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.1781, allocations: 195.4 kB / 0.7273 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.1784, allocations: 142.1 kB / 0.7275 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1785, allocations: 79.75 kB / 0.7276 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1788, allocations: 103.6 kB / 0.7277 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1788, allocations: 12 kB / 0.7277 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.179, allocations: 119.8 kB / 0.7278 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.1791, allocations: 59.81 kB / 0.7278 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.1792, allocations: 75.59 kB / 0.7279 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.1795, allocations: 227.1 kB / 0.7281 GB, free: 14.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1795, allocations: 0 / 0.7281 GB, free: 14.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1795, allocations: 0 / 0.7281 GB, free: 14.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.1795, allocations: 0 / 0.7281 GB, free: 14.94 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007146/0.1802, allocations: 447 kB / 0.7286 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1803, allocations: 12.03 kB / 0.7286 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.1803, allocations: 50.73 kB / 0.7286 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.1807, allocations: 44.77 kB / 0.7287 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.181, allocations: 224.2 kB / 0.7289 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.181, allocations: 12.66 kB / 0.7289 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.181, allocations: 12.38 kB / 0.7289 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.1814, allocations: 238.8 kB / 0.7291 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1814, allocations: 0 / 0.7291 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.1815, allocations: 7.984 kB / 0.7291 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.1815, allocations: 16.28 kB / 0.7291 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.1817, allocations: 148.7 kB / 0.7293 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.183, allocations: 1.135 MB / 0.7304 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.1831, allocations: 42.5 kB / 0.7304 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.1831, allocations: 16.86 kB / 0.7305 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1831, allocations: 3.938 kB / 0.7305 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1831, allocations: 34.56 kB / 0.7305 GB, free: 12.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1832, allocations: 0 / 0.7305 GB, free: 12.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.1834, allocations: 85.64 kB / 0.7306 GB, free: 12.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1834, allocations: 55.34 kB / 0.7306 GB, free: 12.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1836, allocations: 176.4 kB / 0.7308 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1836, allocations: 25.7 kB / 0.7308 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.1837, allocations: 147.6 kB / 0.731 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1837, allocations: 15.91 kB / 0.731 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.1838, allocations: 29.72 kB / 0.731 GB, free: 11.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.184, allocations: 322.8 kB / 0.7313 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.184, allocations: 28.84 kB / 0.7313 GB, free: 11.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1841, allocations: 85.44 kB / 0.7314 GB, free: 11.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1843, allocations: 129.2 kB / 0.7315 GB, free: 11.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1843, allocations: 0 / 0.7315 GB, free: 11.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002243/0.1845, allocations: 137.7 kB / 0.7317 GB, free: 10.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1845, allocations: 4 kB / 0.7317 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1845, allocations: 4 kB / 0.7317 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1846, allocations: 7.938 kB / 0.7317 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1847, allocations: 27.92 kB / 0.7317 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1847, allocations: 0 / 0.7317 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.1848, allocations: 23.84 kB / 0.7317 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1848, allocations: 4 kB / 0.7317 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001154/0.1849, allocations: 120.1 kB / 0.7319 GB, free: 10.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001098/0.185, allocations: 100 kB / 0.7319 GB, free: 10.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001481/0.1852, allocations: 113.3 kB / 0.7321 GB, free: 10.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.1852, allocations: 4 kB / 0.7321 GB, free: 10.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002146/0.1854, allocations: 141.4 kB / 0.7322 GB, free: 10.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1854, allocations: 5.562 kB / 0.7322 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1854, allocations: 4 kB / 0.7322 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.1854, allocations: 7.938 kB / 0.7322 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.1855, allocations: 27.92 kB / 0.7322 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1855, allocations: 3.938 kB / 0.7322 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.1856, allocations: 12.2 kB / 0.7323 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1856, allocations: 15.98 kB / 0.7323 GB, free: 10.22 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.1857, allocations: 185.1 kB / 0.7324 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1857, allocations: 7.953 kB / 0.7325 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.1858, allocations: 16.88 kB / 0.7325 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1858, allocations: 0 / 0.7325 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1858, allocations: 3.938 kB / 0.7325 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1858, allocations: 3.938 kB / 0.7325 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.1863, allocations: 473.1 kB / 0.7329 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1863, allocations: 8 kB / 0.7329 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.1863, allocations: 7.984 kB / 0.7329 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1863, allocations: 0 / 0.7329 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1863, allocations: 4 kB / 0.7329 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1863, allocations: 0 / 0.7329 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1863, allocations: 7.938 kB / 0.733 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1865, allocations: 107.7 kB / 0.7331 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.1866, allocations: 97.38 kB / 0.7332 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1866, allocations: 0 / 0.7332 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.1866, allocations: 0 / 0.7332 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.1866, allocations: 11.98 kB / 0.7332 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1866, allocations: 3.984 kB / 0.7332 GB, free: 9.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001303/0.1868, allocations: 133.8 kB / 0.7333 GB, free: 9.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1868, allocations: 0 / 0.7333 GB, free: 9.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003707/0.1871, allocations: 59.78 kB / 0.7333 GB, free: 8.992 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005452/0.1877, allocations: 0.6422 MB / 0.734 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1879, allocations: 108.9 kB / 0.7341 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1879, allocations: 4.062 kB / 0.7341 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.188, allocations: 19.94 kB / 0.7341 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1882, allocations: 17.88 kB / 0.7341 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.1902, allocations: 1.748 MB / 0.7358 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1906, allocations: 0.7202 MB / 0.7365 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.956e-05/0.1907, allocations: 32.61 kB / 0.7366 GB, free: 5.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.1908, allocations: 31.44 kB / 0.7366 GB, free: 5.441 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.1908, allocations: 0 / 0.7366 GB, free: 5.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.2176, allocations: 2.45 MB / 0.739 GB, free: 3.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.233, allocations: 8.641 kB / 0.739 GB, free: 3.09 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.419311588164419] Failed to read output from testmodel.py, exit status != 0: 8.303806497948244 8.32920308 8.144970896 Calling exit ...