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.001909/0.001909, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00251/0.00251, allocations: 212.8 kB / 22.99 MB, free: 4.977 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9936/0.9936, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] 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.002075/0.002075, allocations: 63.69 kB / 0.6415 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2326, allocations: 89.16 MB / 0.7286 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004717/0.2374, allocations: 2.509 MB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2389, allocations: 0.7558 MB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.239, allocations: 8 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.2405, allocations: 0.5336 MB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.2408, allocations: 111.5 kB / 0.7324 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.2412, allocations: 115.7 kB / 0.7325 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.2415, allocations: 199.4 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.2419, allocations: 130.1 kB / 0.7329 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.242, allocations: 87.73 kB / 0.7329 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.2424, allocations: 95.62 kB / 0.733 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2424, allocations: 12 kB / 0.733 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.2426, allocations: 103.8 kB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.842e-05/0.2427, allocations: 63.81 kB / 0.7332 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.2428, allocations: 55.73 kB / 0.7333 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.2432, allocations: 227.1 kB / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2432, allocations: 0 / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2432, allocations: 0 / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2432, allocations: 3.938 kB / 0.7335 GB, free: 11.53 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.0009307/0.2441, allocations: 377.9 kB / 0.7338 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2442, allocations: 8.031 kB / 0.7338 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.2446, allocations: 44.8 kB / 0.7339 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.2449, allocations: 162.3 kB / 0.734 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2449, allocations: 12.66 kB / 0.7341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.2449, allocations: 12.38 kB / 0.7341 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.2453, allocations: 256.9 kB / 0.7343 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2453, allocations: 0 / 0.7343 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.2453, allocations: 8 kB / 0.7343 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.2454, allocations: 20.27 kB / 0.7343 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.2456, allocations: 140.7 kB / 0.7345 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009837/0.2466, allocations: 0.7818 MB / 0.7352 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.899e-05/0.2467, allocations: 42.5 kB / 0.7353 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.2467, allocations: 12.86 kB / 0.7353 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2467, allocations: 0 / 0.7353 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.2468, allocations: 38.64 kB / 0.7353 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2468, allocations: 0 / 0.7353 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002199/0.247, allocations: 69.64 kB / 0.7354 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.2471, allocations: 55.34 kB / 0.7354 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2472, allocations: 153.7 kB / 0.7356 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2472, allocations: 25.7 kB / 0.7356 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2474, allocations: 147.6 kB / 0.7358 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.2474, allocations: 23.78 kB / 0.7358 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.2475, allocations: 41.59 kB / 0.7358 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2476, allocations: 314.8 kB / 0.7361 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-05/0.2477, allocations: 24.84 kB / 0.7361 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2478, allocations: 105.4 kB / 0.7362 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.248, allocations: 121.5 kB / 0.7364 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.248, allocations: 4 kB / 0.7364 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002068/0.2482, allocations: 137.7 kB / 0.7365 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2482, allocations: 8 kB / 0.7365 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2482, allocations: 4 kB / 0.7365 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2483, allocations: 4 kB / 0.7365 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2484, allocations: 31.92 kB / 0.7365 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.2484, allocations: 7.922 kB / 0.7365 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/0.2485, allocations: 15.89 kB / 0.7366 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2485, allocations: 8 kB / 0.7366 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001159/0.2486, allocations: 120.1 kB / 0.7367 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.927e-05/0.2487, allocations: 89.38 kB / 0.7368 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001407/0.2489, allocations: 125.3 kB / 0.7369 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.2489, allocations: 0 / 0.7369 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001968/0.2491, allocations: 137.4 kB / 0.737 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2491, allocations: 8 kB / 0.737 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.2491, allocations: 0 / 0.737 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.2491, allocations: 4 kB / 0.737 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.2491, allocations: 20 kB / 0.7371 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2492, allocations: 11.92 kB / 0.7371 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.2492, allocations: 11.94 kB / 0.7371 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2492, allocations: 8.312 kB / 0.7371 GB, free: 7.473 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.000113/0.2493, allocations: 184.3 kB / 0.7373 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.2494, allocations: 7.953 kB / 0.7373 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.2494, allocations: 12.34 kB / 0.7373 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2494, allocations: 0 / 0.7373 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2494, allocations: 3.938 kB / 0.7373 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2494, allocations: 0 / 0.7373 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.2499, allocations: 420.7 kB / 0.7377 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2499, allocations: 0 / 0.7377 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.2499, allocations: 16 kB / 0.7377 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2499, allocations: 4 kB / 0.7377 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2499, allocations: 0 / 0.7377 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2499, allocations: 0 / 0.7377 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.2499, allocations: 4 kB / 0.7377 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.25, allocations: 111.6 kB / 0.7378 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.2501, allocations: 11.89 kB / 0.7378 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.2501, allocations: 7.938 kB / 0.7378 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.2501, allocations: 7.984 kB / 0.7378 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.2501, allocations: 0 / 0.7378 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2501, allocations: 8 kB / 0.7378 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.2502, allocations: 105 kB / 0.7379 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2502, allocations: 0 / 0.7379 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003617/0.2506, allocations: 55.84 kB / 0.738 GB, free: 6.441 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.0001168/0.2507, allocations: 107.1 kB / 0.7381 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.2509, allocations: 101.2 kB / 0.7382 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2509, allocations: 4 kB / 0.7382 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.251, allocations: 19.94 kB / 0.7382 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2512, allocations: 30.3 kB / 0.7382 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.2518, allocations: 275.2 kB / 0.7385 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2519, allocations: 106.5 kB / 0.7386 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.666e-05/0.252, allocations: 28.45 kB / 0.7386 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.252, allocations: 11.44 kB / 0.7387 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.252, allocations: 0 / 0.7387 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of Templates: time 0.00406/0.2561, allocations: 0.8826 MB / 0.7395 GB, free: 4.855 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: 6.079811915755272] Failed to read output from testmodel.py, exit status != 0: 0.2649579104036093 0.27940277 0.033025725 Calling exit ...