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.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.001512/0.001512, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001681/0.001681, allocations: 216.6 kB / 22.25 MB, free: 5.242 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.809 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.7982/0.7982, allocations: 134 MB / 446.4 MB, free: 9.965 MB / 350.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.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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001955/0.001955, allocations: 68.31 kB / 0.6184 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1515, allocations: 85.91 MB / 0.7023 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002643/0.1542, allocations: 1.478 MB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.155, allocations: 462.8 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.155, allocations: 0 / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.1551, allocations: 3.938 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.1552, allocations: 7.938 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1553, allocations: 15.98 kB / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.1554, allocations: 51.84 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1555, allocations: 19.97 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.1556, allocations: 19.92 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.1556, allocations: 15.92 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1556, allocations: 4 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.1557, allocations: 4 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.1557, allocations: 15.92 kB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.1557, allocations: 19.88 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1558, allocations: 52.08 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1558, allocations: 0 / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1558, allocations: 3.938 kB / 0.7045 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1559, allocations: 0 / 0.7045 GB, free: 14.92 MB / 0.5294 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.0005109/0.1564, allocations: 290.2 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1564, allocations: 8.031 kB / 0.7047 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1564, allocations: 38.75 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.1565, allocations: 0.9375 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1566, allocations: 114.4 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1566, allocations: 8.359 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1566, allocations: 12.38 kB / 0.7049 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1567, allocations: 57.75 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1567, allocations: 4 kB / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1568, allocations: 0 / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1568, allocations: 0 / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.1568, allocations: 23.98 kB / 0.705 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1573, allocations: 263.8 kB / 0.7052 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1574, allocations: 46.56 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.1575, allocations: 36.92 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.1575, allocations: 4 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.1576, allocations: 79.36 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1576, allocations: 0 / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002189/0.1579, allocations: 97.61 kB / 0.7055 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1579, allocations: 55.41 kB / 0.7055 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.158, allocations: 110.2 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.158, allocations: 29.7 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.1581, allocations: 84.14 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1581, allocations: 27.78 kB / 0.7058 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1581, allocations: 29.66 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1583, allocations: 326.8 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.504e-05/0.1583, allocations: 12 kB / 0.7061 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.1584, allocations: 50.7 kB / 0.7062 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.1585, allocations: 67.36 kB / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1585, allocations: 0 / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.1586, allocations: 97.5 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1586, allocations: 8 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1586, allocations: 3.938 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1587, allocations: 0 / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.1587, allocations: 16.03 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1587, allocations: 4 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.1588, allocations: 7.984 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1588, allocations: 7.938 kB / 0.7064 GB, free: 12.73 MB / 0.5294 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 8.823e-05/0.1589, allocations: 120 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1589, allocations: 4 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.1589, allocations: 8.062 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1589, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1589, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1589, allocations: 7.984 kB / 0.7065 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1594, allocations: 333.4 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1594, allocations: 288 / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.1594, allocations: 8 kB / 0.7068 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1594, allocations: 0 / 0.7068 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1594, allocations: 0 / 0.7068 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.1594, allocations: 8 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1594, allocations: 4 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1596, allocations: 191.4 kB / 0.707 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.1596, allocations: 4.188 kB / 0.707 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1596, allocations: 4 kB / 0.707 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.1597, allocations: 15.86 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.1597, allocations: 11.98 kB / 0.7071 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1598, allocations: 0 / 0.7071 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.1598, allocations: 79.28 kB / 0.7071 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1598, allocations: 3.938 kB / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002235/0.16, allocations: 16 kB / 0.7072 GB, free: 11.85 MB / 0.5294 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.0004677/0.1605, allocations: 0.7124 MB / 0.7079 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1606, allocations: 51.91 kB / 0.7079 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1606, allocations: 4.062 kB / 0.7079 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.1607, allocations: 23.94 kB / 0.7079 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.161, allocations: 18.27 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1623, allocations: 1.375 MB / 0.7093 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/0.1624, allocations: 75.19 kB / 0.7094 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.1624, allocations: 4 kB / 0.7094 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.1624, allocations: 23.42 kB / 0.7094 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1624, allocations: 0 / 0.7094 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.1902, allocations: 2.328 MB / 0.7117 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.83, allocations: 6.859 kB / 0.7117 GB, free: 7.234 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.148347145412117] Failed to read output from testmodel.py, exit status != 0: 10.934918933082372 10.958379291 10.79832402 Calling exit ...