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.00131/0.00131, allocations: 100.4 kB / 20.45 MB, free: 1.395 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.001432/0.001432, allocations: 211.5 kB / 23.74 MB, free: 4.566 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.82 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 0.9529/0.9529, allocations: 149.9 MB / 463.8 MB, free: 10.41 MB / 366.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: translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") [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.00247/0.00247, allocations: 63.52 kB / 0.6423 GB, free: 9.742 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1733, allocations: 89.17 MB / 0.7294 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004689/0.178, allocations: 2.513 MB / 0.7318 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1796, allocations: 0.7558 MB / 0.7325 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1797, allocations: 4 kB / 0.7326 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.1814, allocations: 0.5375 MB / 0.7331 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1817, allocations: 111.5 kB / 0.7332 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1821, allocations: 103.8 kB / 0.7333 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.1824, allocations: 203.4 kB / 0.7335 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.1828, allocations: 141.6 kB / 0.7336 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.1829, allocations: 87.69 kB / 0.7337 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.1832, allocations: 95.62 kB / 0.7338 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.1832, allocations: 16 kB / 0.7338 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1835, allocations: 95.77 kB / 0.7339 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.1835, allocations: 55.83 kB / 0.7339 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.1836, allocations: 63.72 kB / 0.734 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.184, allocations: 227.1 kB / 0.7342 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.184, allocations: 4 kB / 0.7342 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.184, allocations: 0 / 0.7342 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.184, allocations: 0 / 0.7342 GB, free: 11.62 MB / 0.5606 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.0007496/0.1848, allocations: 373.9 kB / 0.7346 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1848, allocations: 8.031 kB / 0.7346 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.1852, allocations: 44.81 kB / 0.7346 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1855, allocations: 162.3 kB / 0.7348 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1855, allocations: 8.656 kB / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1856, allocations: 20.36 kB / 0.7348 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.186, allocations: 261 kB / 0.7351 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.186, allocations: 0 / 0.7351 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.186, allocations: 4 kB / 0.7351 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.186, allocations: 16.27 kB / 0.7351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.1863, allocations: 144.7 kB / 0.7352 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1874, allocations: 0.7779 MB / 0.736 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1875, allocations: 42.55 kB / 0.736 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.1875, allocations: 28.73 kB / 0.7361 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.1875, allocations: 0 / 0.7361 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1876, allocations: 30.56 kB / 0.7361 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1876, allocations: 0 / 0.7361 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002076/0.1878, allocations: 73.72 kB / 0.7361 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.1878, allocations: 59.34 kB / 0.7362 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.188, allocations: 145.7 kB / 0.7363 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.188, allocations: 33.7 kB / 0.7364 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1881, allocations: 147.6 kB / 0.7365 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1881, allocations: 19.78 kB / 0.7365 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.1882, allocations: 41.66 kB / 0.7366 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1884, allocations: 314.8 kB / 0.7369 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.1884, allocations: 32.78 kB / 0.7369 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1886, allocations: 93.44 kB / 0.737 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1887, allocations: 125.3 kB / 0.7371 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1887, allocations: 4 kB / 0.7371 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002462/0.189, allocations: 133.4 kB / 0.7372 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.189, allocations: 8 kB / 0.7373 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.189, allocations: 320 / 0.7373 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.189, allocations: 8 kB / 0.7373 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1891, allocations: 31.92 kB / 0.7373 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.1892, allocations: 7.938 kB / 0.7373 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.51e-05/0.1892, allocations: 11.89 kB / 0.7373 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1893, allocations: 8 kB / 0.7373 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001162/0.1894, allocations: 124.1 kB / 0.7374 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001001/0.1895, allocations: 88.56 kB / 0.7375 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001607/0.1896, allocations: 125.2 kB / 0.7376 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.1896, allocations: 0 / 0.7376 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002174/0.1898, allocations: 137.6 kB / 0.7378 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.1899, allocations: 4 kB / 0.7378 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1899, allocations: 7.938 kB / 0.7378 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.1899, allocations: 4 kB / 0.7378 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.19, allocations: 23.98 kB / 0.7378 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.19, allocations: 7.938 kB / 0.7378 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.19, allocations: 7.938 kB / 0.7378 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1901, allocations: 8 kB / 0.7378 GB, free: 7.566 MB / 0.5606 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.0001167/0.1902, allocations: 188.2 kB / 0.738 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.1902, allocations: 12.05 kB / 0.738 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.1902, allocations: 8.344 kB / 0.738 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1902, allocations: 4 kB / 0.738 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1902, allocations: 4.219 kB / 0.738 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1902, allocations: 0 / 0.738 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1907, allocations: 408.7 kB / 0.7384 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1907, allocations: 0 / 0.7384 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.1908, allocations: 15.92 kB / 0.7384 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1908, allocations: 0 / 0.7384 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1908, allocations: 4.125 kB / 0.7385 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1908, allocations: 4 kB / 0.7385 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1908, allocations: 0 / 0.7385 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1909, allocations: 111.6 kB / 0.7386 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.191, allocations: 19.89 kB / 0.7386 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.191, allocations: 3.938 kB / 0.7386 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.191, allocations: 0 / 0.7386 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.191, allocations: 7.984 kB / 0.7386 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.191, allocations: 4 kB / 0.7386 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.402e-05/0.1911, allocations: 109.2 kB / 0.7387 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1911, allocations: 0 / 0.7387 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003787/0.1915, allocations: 59.84 kB / 0.7388 GB, free: 6.531 MB / 0.5606 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.00011/0.1916, allocations: 103.1 kB / 0.7389 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1919, allocations: 100.9 kB / 0.739 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1919, allocations: 4 kB / 0.739 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.1919, allocations: 20.17 kB / 0.739 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.1922, allocations: 28.69 kB / 0.739 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.1927, allocations: 304.9 kB / 0.7393 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.1929, allocations: 110.2 kB / 0.7394 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1929, allocations: 15.38 kB / 0.7394 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1929, allocations: 0 / 0.7394 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of Templates: time 0.003765/0.1967, allocations: 1.425 MB / 0.7408 GB, free: 4.375 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.120959885884076] Failed to read output from testmodel.py, exit status != 0: 0.20691871689632535 0.22394666300000002 0.036301865 Calling exit ...