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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 114.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 190.6 kB / 22.98 MB, free: 5.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9869/0.9869, allocations: 149.6 MB / 456.6 MB, free: 1.191 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 63.61 kB / 0.6328 GB, free: 9.008 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1945, allocations: 87.88 MB / 0.7186 GB, free: 1.051 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005132/0.1997, allocations: 2.564 MB / 0.7211 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.00155/0.2012, allocations: 0.8179 MB / 0.7219 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.2013, allocations: 11.94 kB / 0.722 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.001449/0.2028, allocations: 0.5376 MB / 0.7225 GB, free: 13.1 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.2031, allocations: 103.5 kB / 0.7226 GB, free: 13 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2034, allocations: 123 kB / 0.7227 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003153/0.2037, allocations: 195.4 kB / 0.7229 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.2041, allocations: 122.3 kB / 0.723 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2043, allocations: 87.69 kB / 0.7231 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.2045, allocations: 95.7 kB / 0.7232 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.2046, allocations: 12 kB / 0.7232 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.2048, allocations: 119.7 kB / 0.7233 GB, free: 12.26 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.2049, allocations: 63.81 kB / 0.7234 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.205, allocations: 75.66 kB / 0.7234 GB, free: 12.12 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.2053, allocations: 227.1 kB / 0.7237 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2053, allocations: 0 / 0.7237 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.352e-06/0.2054, allocations: 0 / 0.7237 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 7.715e-06/0.2054, allocations: 0 / 0.7237 GB, free: 11.9 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.0006819/0.206, allocations: 365.9 kB / 0.724 GB, free: 11.51 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2061, allocations: 8.625 kB / 0.724 GB, free: 11.5 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.2065, allocations: 48.8 kB / 0.7241 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.2068, allocations: 166.3 kB / 0.7242 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2068, allocations: 12.59 kB / 0.7242 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.2068, allocations: 12.38 kB / 0.7242 GB, free: 11.24 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.2072, allocations: 235 kB / 0.7245 GB, free: 10.99 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2072, allocations: 3.938 kB / 0.7245 GB, free: 10.99 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2073, allocations: 11.98 kB / 0.7245 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.2073, allocations: 16.27 kB / 0.7245 GB, free: 10.96 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.2076, allocations: 148.6 kB / 0.7246 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.2089, allocations: 1.099 MB / 0.7257 GB, free: 9.59 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.083e-05/0.209, allocations: 38.56 kB / 0.7257 GB, free: 9.543 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.209, allocations: 20.94 kB / 0.7258 GB, free: 9.52 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.209, allocations: 0 / 0.7258 GB, free: 9.52 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.2091, allocations: 30.56 kB / 0.7258 GB, free: 9.48 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2091, allocations: 0 / 0.7258 GB, free: 9.48 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.000217/0.2093, allocations: 89.5 kB / 0.7259 GB, free: 9.387 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.2093, allocations: 51.41 kB / 0.7259 GB, free: 9.324 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.2095, allocations: 172.6 kB / 0.7261 GB, free: 9.148 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.2095, allocations: 25.7 kB / 0.7261 GB, free: 9.117 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2096, allocations: 147.6 kB / 0.7263 GB, free: 8.969 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2096, allocations: 19.83 kB / 0.7263 GB, free: 8.949 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.2097, allocations: 33.67 kB / 0.7263 GB, free: 8.91 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0003071/0.21, allocations: 322.8 kB / 0.7266 GB, free: 8.586 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.2101, allocations: 28.84 kB / 0.7266 GB, free: 8.555 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.605e-05/0.2102, allocations: 85.44 kB / 0.7267 GB, free: 8.438 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.2103, allocations: 129.2 kB / 0.7268 GB, free: 8.277 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2103, allocations: 4 kB / 0.7269 GB, free: 8.273 MB / 0.545 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002148/0.2105, allocations: 129.4 kB / 0.727 GB, free: 8.141 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2106, allocations: 4 kB / 0.727 GB, free: 8.137 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2106, allocations: 4.312 kB / 0.727 GB, free: 8.133 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2106, allocations: 11.94 kB / 0.727 GB, free: 8.121 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2107, allocations: 27.94 kB / 0.727 GB, free: 8.094 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2107, allocations: 7.984 kB / 0.727 GB, free: 8.086 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.2108, allocations: 15.89 kB / 0.727 GB, free: 8.07 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2108, allocations: 4 kB / 0.727 GB, free: 8.066 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001243/0.2109, allocations: 128.1 kB / 0.7272 GB, free: 7.938 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.032e-05/0.211, allocations: 89.38 kB / 0.7273 GB, free: 7.816 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001504/0.2112, allocations: 125.3 kB / 0.7274 GB, free: 7.66 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.2112, allocations: 0 / 0.7274 GB, free: 7.66 MB / 0.545 GB
Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002079/0.2114, allocations: 141.4 kB / 0.7275 GB, free: 7.516 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.2114, allocations: 4 kB / 0.7275 GB, free: 7.512 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2114, allocations: 4 kB / 0.7275 GB, free: 7.508 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.2114, allocations: 4 kB / 0.7275 GB, free: 7.504 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.2115, allocations: 27.92 kB / 0.7275 GB, free: 7.477 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2115, allocations: 7.938 kB / 0.7276 GB, free: 7.469 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.2116, allocations: 8 kB / 0.7276 GB, free: 7.461 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2116, allocations: 4 kB / 0.7276 GB, free: 7.457 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.0001198/0.2117, allocations: 200.3 kB / 0.7278 GB, free: 7.254 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.2117, allocations: 11.91 kB / 0.7278 GB, free: 7.242 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.2118, allocations: 20.95 kB / 0.7278 GB, free: 7.219 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2118, allocations: 3.938 kB / 0.7278 GB, free: 7.215 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2118, allocations: 0 / 0.7278 GB, free: 7.215 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2118, allocations: 0 / 0.7278 GB, free: 7.215 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.2124, allocations: 444.2 kB / 0.7282 GB, free: 6.719 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2124, allocations: 288 / 0.7282 GB, free: 6.719 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.2125, allocations: 7.938 kB / 0.7282 GB, free: 6.711 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2125, allocations: 4 kB / 0.7282 GB, free: 6.707 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2125, allocations: 0 / 0.7282 GB, free: 6.707 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2125, allocations: 3.984 kB / 0.7282 GB, free: 6.703 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2125, allocations: 4 kB / 0.7282 GB, free: 6.699 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.2126, allocations: 119.7 kB / 0.7284 GB, free: 6.555 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.2127, allocations: 11.94 kB / 0.7284 GB, free: 6.543 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2127, allocations: 0 / 0.7284 GB, free: 6.543 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.2127, allocations: 8 kB / 0.7284 GB, free: 6.535 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.2127, allocations: 3.938 kB / 0.7284 GB, free: 6.531 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2127, allocations: 4 kB / 0.7284 GB, free: 6.527 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001027/0.2128, allocations: 125.8 kB / 0.7285 GB, free: 6.406 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2128, allocations: 0 / 0.7285 GB, free: 6.406 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000354/0.2132, allocations: 51.89 kB / 0.7285 GB, free: 6.355 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.0001141/0.2133, allocations: 103.2 kB / 0.7286 GB, free: 6.242 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002184/0.2135, allocations: 108.8 kB / 0.7287 GB, free: 6.137 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2135, allocations: 4 kB / 0.7288 GB, free: 6.133 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.2135, allocations: 12 kB / 0.7288 GB, free: 6.121 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.2138, allocations: 26.16 kB / 0.7288 GB, free: 6.098 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.2143, allocations: 283.5 kB / 0.7291 GB, free: 5.785 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.2147, allocations: 0.7241 MB / 0.7298 GB, free: 5.035 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 8.731e-05/0.2148, allocations: 32.62 kB / 0.7298 GB, free: 5.004 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.2148, allocations: 11.44 kB / 0.7298 GB, free: 4.992 MB / 0.545 GB
Notification: Performance of SimCode: time 2.8e-07/0.2148, allocations: 0 / 0.7298 GB, free: 4.992 MB / 0.545 GB
Notification: Performance of Templates: time 0.003935/0.2188, allocations: 0.9754 MB / 0.7308 GB, free: 4.027 MB / 0.545 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: 5.854050761088729]
Failed to read output from testmodel.py, exit status != 0:
0.22739260643720627 0.24212674599999995 0.03359851499999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f33842657b0>