Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.001434/0.001434, allocations: 110 kB / 18.93 MB, free: 2.945 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.001884/0.001884, allocations: 192.7 kB / 22.23 MB, free: 5.16 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.52/1.52, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8575/0.8575, allocations: 134 MB / 440.3 MB, free: 292 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer")
translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 73.25 kB / 0.6107 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2023, allocations: 84.72 MB / 0.6934 GB, free: 9.059 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003022/0.2054, allocations: 1.485 MB / 0.6949 GB, free: 7.559 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.0008783/0.2062, allocations: 454.8 kB / 0.6953 GB, free: 7.109 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.2063, allocations: 0 / 0.6953 GB, free: 7.109 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.2063, allocations: 3.938 kB / 0.6953 GB, free: 7.105 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.2064, allocations: 7.938 kB / 0.6953 GB, free: 7.098 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.2066, allocations: 35.89 kB / 0.6954 GB, free: 7.062 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2067, allocations: 47.91 kB / 0.6954 GB, free: 7.016 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2069, allocations: 8 kB / 0.6954 GB, free: 7.008 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.2069, allocations: 19.92 kB / 0.6954 GB, free: 6.988 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.207, allocations: 19.92 kB / 0.6955 GB, free: 6.969 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.207, allocations: 4 kB / 0.6955 GB, free: 6.965 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.207, allocations: 4 kB / 0.6955 GB, free: 6.961 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.2071, allocations: 23.84 kB / 0.6955 GB, free: 6.938 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.2071, allocations: 19.92 kB / 0.6955 GB, free: 6.918 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.2073, allocations: 43.77 kB / 0.6955 GB, free: 6.875 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2073, allocations: 4 kB / 0.6955 GB, free: 6.871 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.753e-06/0.2073, allocations: 0 / 0.6955 GB, free: 6.871 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 6.482e-06/0.2073, allocations: 0 / 0.6955 GB, free: 6.871 MB / 0.5137 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0006511/0.2079, allocations: 286.2 kB / 0.6958 GB, free: 6.562 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.208, allocations: 8.031 kB / 0.6958 GB, free: 6.555 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.208, allocations: 12.89 kB / 0.6958 GB, free: 6.543 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2082, allocations: 110.5 kB / 0.6959 GB, free: 6.41 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2082, allocations: 4.375 kB / 0.696 GB, free: 6.406 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2082, allocations: 8.375 kB / 0.696 GB, free: 6.398 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.2084, allocations: 65.86 kB / 0.696 GB, free: 6.328 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2084, allocations: 0 / 0.696 GB, free: 6.328 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2084, allocations: 4 kB / 0.696 GB, free: 6.324 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2084, allocations: 4 kB / 0.696 GB, free: 6.32 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.2085, allocations: 19.98 kB / 0.696 GB, free: 6.301 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.2091, allocations: 279.8 kB / 0.6963 GB, free: 5.984 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2092, allocations: 50.56 kB / 0.6964 GB, free: 5.926 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.2092, allocations: 24.95 kB / 0.6964 GB, free: 5.898 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2092, allocations: 0 / 0.6964 GB, free: 5.898 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.2095, allocations: 75.41 kB / 0.6965 GB, free: 5.812 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2095, allocations: 0 / 0.6965 GB, free: 5.812 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=9): time 0.000264/0.2097, allocations: 105.5 kB / 0.6966 GB, free: 5.703 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.2098, allocations: 59.41 kB / 0.6966 GB, free: 5.633 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.2099, allocations: 97.86 kB / 0.6967 GB, free: 5.527 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.21, allocations: 37.69 kB / 0.6967 GB, free: 5.484 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.21, allocations: 92.03 kB / 0.6968 GB, free: 5.391 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.21, allocations: 15.84 kB / 0.6968 GB, free: 5.375 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.2101, allocations: 29.7 kB / 0.6969 GB, free: 5.34 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001556/0.2103, allocations: 322.8 kB / 0.6972 GB, free: 5.016 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.2103, allocations: 15.98 kB / 0.6972 GB, free: 5 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.2104, allocations: 47.42 kB / 0.6972 GB, free: 4.941 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.2105, allocations: 67.55 kB / 0.6973 GB, free: 4.863 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2105, allocations: 0 / 0.6973 GB, free: 4.863 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.000153/0.2106, allocations: 97.88 kB / 0.6974 GB, free: 4.762 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2106, allocations: 8 kB / 0.6974 GB, free: 4.754 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2106, allocations: 4.031 kB / 0.6974 GB, free: 4.75 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2107, allocations: 4 kB / 0.6974 GB, free: 4.746 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.2107, allocations: 19.92 kB / 0.6974 GB, free: 4.727 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2108, allocations: 0 / 0.6974 GB, free: 4.727 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.2108, allocations: 7.953 kB / 0.6974 GB, free: 4.719 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2108, allocations: 4 kB / 0.6974 GB, free: 4.715 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (12):
 * Single equations (assignments): 12
 * 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.0001138/0.2109, allocations: 127.7 kB / 0.6976 GB, free: 4.582 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.211, allocations: 4.062 kB / 0.6976 GB, free: 4.578 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.211, allocations: 16.06 kB / 0.6976 GB, free: 4.562 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.211, allocations: 0 / 0.6976 GB, free: 4.562 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.211, allocations: 0 / 0.6976 GB, free: 4.562 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.211, allocations: 4 kB / 0.6976 GB, free: 4.559 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.2115, allocations: 337.4 kB / 0.6979 GB, free: 4.18 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2115, allocations: 0 / 0.6979 GB, free: 4.18 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.2115, allocations: 4 kB / 0.6979 GB, free: 4.176 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2115, allocations: 3.938 kB / 0.6979 GB, free: 4.172 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2115, allocations: 3.984 kB / 0.6979 GB, free: 4.168 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2115, allocations: 7.938 kB / 0.6979 GB, free: 4.16 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2115, allocations: 4 kB / 0.6979 GB, free: 4.156 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.2117, allocations: 175.5 kB / 0.6981 GB, free: 3.969 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.2117, allocations: 7.938 kB / 0.6981 GB, free: 3.961 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2117, allocations: 0 / 0.6981 GB, free: 3.961 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.2118, allocations: 7.938 kB / 0.6981 GB, free: 3.953 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.2119, allocations: 11.98 kB / 0.6981 GB, free: 3.941 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.2119, allocations: 4 kB / 0.6981 GB, free: 3.938 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 5.034e-05/0.2119, allocations: 87.27 kB / 0.6982 GB, free: 3.852 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 7e-08/0.2119, allocations: 0 / 0.6982 GB, free: 3.852 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002303/0.2122, allocations: 16 kB / 0.6982 GB, free: 3.836 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * 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.0001229/0.2123, allocations: 95.19 kB / 0.6983 GB, free: 3.734 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0001609/0.2124, allocations: 60.03 kB / 0.6984 GB, free: 3.676 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2124, allocations: 0 / 0.6984 GB, free: 3.676 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.2125, allocations: 19.94 kB / 0.6984 GB, free: 3.656 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.2128, allocations: 20.05 kB / 0.6984 GB, free: 3.637 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.2132, allocations: 161.4 kB / 0.6986 GB, free: 3.453 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.2136, allocations: 0.6846 MB / 0.6992 GB, free: 2.742 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 3.132e-05/0.2136, allocations: 8.406 kB / 0.6993 GB, free: 2.734 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.2137, allocations: 11.44 kB / 0.6993 GB, free: 2.723 MB / 0.5137 GB
Notification: Performance of SimCode: time 2.91e-07/0.2137, allocations: 0 / 0.6993 GB, free: 2.723 MB / 0.5137 GB
Notification: Performance of Templates: time 0.003572/0.2172, allocations: 0.8195 MB / 0.7001 GB, free: 1.91 MB / 0.5137 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.041420733556151]
Failed to read output from testmodel.py, exit status != 0:
0.22506323736160994 0.24169216100000002 0.03107346
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd56ce217b0>