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.001879/0.001879, allocations: 105 kB / 20.45 MB, free: 1.5 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.001535/0.001535, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.986/0.986, allocations: 150 MB / 463.9 MB, free: 10.52 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.002319/0.002319, allocations: 70.92 kB / 0.6425 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1885, allocations: 89.17 MB / 0.7296 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004769/0.1932, allocations: 2.583 MB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1948, allocations: 0.8025 MB / 0.7329 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.195, allocations: 15.88 kB / 0.7329 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.1965, allocations: 0.5804 MB / 0.7334 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.1969, allocations: 99.55 kB / 0.7335 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1974, allocations: 119.2 kB / 0.7337 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.1978, allocations: 203.3 kB / 0.7338 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004955/0.1983, allocations: 145.6 kB / 0.734 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.1985, allocations: 87.69 kB / 0.7341 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.1989, allocations: 99.67 kB / 0.7342 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.199, allocations: 12 kB / 0.7342 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.1993, allocations: 119.7 kB / 0.7343 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1994, allocations: 63.81 kB / 0.7343 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1995, allocations: 67.67 kB / 0.7344 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.2001, allocations: 231.1 kB / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2001, allocations: 0 / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.045e-06/0.2001, allocations: 0 / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.2001, allocations: 0 / 0.7346 GB, free: 11.57 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.0009821/0.2011, allocations: 373.9 kB / 0.735 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.2011, allocations: 8.031 kB / 0.735 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005197/0.2016, allocations: 44.8 kB / 0.735 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.202, allocations: 166.2 kB / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.202, allocations: 12.66 kB / 0.7352 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.202, allocations: 12.38 kB / 0.7352 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.2025, allocations: 227.3 kB / 0.7354 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2025, allocations: 0 / 0.7354 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.2025, allocations: 8 kB / 0.7354 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.2026, allocations: 24.2 kB / 0.7355 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.2028, allocations: 148.7 kB / 0.7356 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2041, allocations: 1.095 MB / 0.7367 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.814e-05/0.2042, allocations: 38.56 kB / 0.7367 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.2043, allocations: 16.86 kB / 0.7367 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2043, allocations: 4.078 kB / 0.7367 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.2043, allocations: 30.56 kB / 0.7368 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 3.317e-06/0.2043, allocations: 4 kB / 0.7368 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002431/0.2046, allocations: 81.52 kB / 0.7368 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.2046, allocations: 51.41 kB / 0.7369 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2048, allocations: 174.9 kB / 0.7371 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.2048, allocations: 29.7 kB / 0.7371 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2049, allocations: 151.5 kB / 0.7372 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.205, allocations: 11.91 kB / 0.7372 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.205, allocations: 29.7 kB / 0.7373 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2052, allocations: 326.8 kB / 0.7376 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.2052, allocations: 24.86 kB / 0.7376 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.2053, allocations: 93.36 kB / 0.7377 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.2055, allocations: 129.2 kB / 0.7378 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2055, allocations: 0 / 0.7378 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002222/0.2057, allocations: 129.4 kB / 0.7379 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2057, allocations: 11.94 kB / 0.738 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2057, allocations: 4.312 kB / 0.738 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.2058, allocations: 7.938 kB / 0.738 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2059, allocations: 27.98 kB / 0.738 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2059, allocations: 4 kB / 0.738 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.206, allocations: 19.84 kB / 0.738 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.206, allocations: 7.938 kB / 0.738 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001211/0.2061, allocations: 124.1 kB / 0.7381 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.586e-05/0.2062, allocations: 89.44 kB / 0.7382 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001586/0.2064, allocations: 125.5 kB / 0.7384 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.2064, allocations: 0 / 0.7384 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002224/0.2066, allocations: 137.4 kB / 0.7385 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2066, allocations: 8 kB / 0.7385 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2066, allocations: 4 kB / 0.7385 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2066, allocations: 4 kB / 0.7385 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.2067, allocations: 23.94 kB / 0.7385 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.2067, allocations: 11.92 kB / 0.7385 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.2068, allocations: 11.89 kB / 0.7385 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.2068, allocations: 12 kB / 0.7386 GB, free: 7.129 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.0001203/0.2069, allocations: 188.5 kB / 0.7387 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.207, allocations: 11.95 kB / 0.7387 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.207, allocations: 16.97 kB / 0.7388 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.207, allocations: 3.938 kB / 0.7388 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.207, allocations: 3.984 kB / 0.7388 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.207, allocations: 0 / 0.7388 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.2075, allocations: 444.2 kB / 0.7392 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2075, allocations: 4 kB / 0.7392 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.2076, allocations: 7.938 kB / 0.7392 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2076, allocations: 0 / 0.7392 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2076, allocations: 8 kB / 0.7392 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2076, allocations: 0 / 0.7392 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2076, allocations: 0 / 0.7392 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.2077, allocations: 115.7 kB / 0.7393 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.2078, allocations: 11.95 kB / 0.7393 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2078, allocations: 0 / 0.7393 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.2078, allocations: 7.938 kB / 0.7393 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.2079, allocations: 7.984 kB / 0.7393 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.2079, allocations: 0 / 0.7393 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001092/0.208, allocations: 131.9 kB / 0.7395 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.208, allocations: 0 / 0.7395 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003721/0.2084, allocations: 59.78 kB / 0.7395 GB, free: 6.027 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.0001144/0.2085, allocations: 95.23 kB / 0.7396 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.2087, allocations: 120.8 kB / 0.7397 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2087, allocations: 0 / 0.7397 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.2087, allocations: 19.92 kB / 0.7398 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.209, allocations: 19.98 kB / 0.7398 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.2096, allocations: 305.3 kB / 0.7401 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.21, allocations: 0.7241 MB / 0.7408 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.21, allocations: 15.44 kB / 0.7408 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/0.21, allocations: 0 / 0.7408 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.003706/0.2137, allocations: 1.48 MB / 0.7422 GB, free: 3.188 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.516228487016633] Failed to read output from testmodel.py, exit status != 0: 0.22382090310566127 0.239147355 0.035600554 Calling exit ...