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.001506/0.001506, allocations: 116.8 kB / 17.17 MB, free: 5.906 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.001553/0.001553, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.351/1.351, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.8122/0.8122, allocations: 133.9 MB / 443.5 MB, free: 13.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="cs",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.001933/0.001933, allocations: 69.5 kB / 0.6141 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1403, allocations: 85.86 MB / 0.6979 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002539/0.1428, allocations: 1.47 MB / 0.6994 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008322/0.1437, allocations: 495.5 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.1437, allocations: 0 / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.1438, allocations: 3.938 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.1438, allocations: 9.312 kB / 0.6998 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.144, allocations: 24.03 kB / 0.6999 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.1441, allocations: 48.47 kB / 0.6999 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1442, allocations: 12.11 kB / 0.6999 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.1442, allocations: 28.11 kB / 0.6999 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.1443, allocations: 21.36 kB / 0.7 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1443, allocations: 8.125 kB / 0.7 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.1443, allocations: 4.125 kB / 0.7 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.1444, allocations: 18.72 kB / 0.7 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.1444, allocations: 17.38 kB / 0.7 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1445, allocations: 44.98 kB / 0.7001 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1445, allocations: 1.375 kB / 0.7001 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1445, allocations: 0 / 0.7001 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.1445, allocations: 0 / 0.7001 GB, free: 12.02 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.0005433/0.1451, allocations: 365.2 kB / 0.7004 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1451, allocations: 15.3 kB / 0.7004 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.317e-05/0.1451, allocations: 1.562 kB / 0.7004 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.1451, allocations: 32.12 kB / 0.7004 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1452, allocations: 7.672 kB / 0.7005 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1453, allocations: 182.9 kB / 0.7006 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1453, allocations: 3.062 kB / 0.7006 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1453, allocations: 4.375 kB / 0.7006 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1455, allocations: 56.19 kB / 0.7007 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1455, allocations: 3.984 kB / 0.7007 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1455, allocations: 8 kB / 0.7007 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1455, allocations: 1.531 kB / 0.7007 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.1456, allocations: 25.98 kB / 0.7007 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.1461, allocations: 297.1 kB / 0.701 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1462, allocations: 51.22 kB / 0.7011 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.1462, allocations: 31.31 kB / 0.7011 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1462, allocations: 0 / 0.7011 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.1464, allocations: 72.44 kB / 0.7012 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1464, allocations: 0 / 0.7012 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002325/0.1466, allocations: 101.1 kB / 0.7013 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1467, allocations: 53.72 kB / 0.7013 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.1468, allocations: 108.9 kB / 0.7014 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1468, allocations: 34.64 kB / 0.7014 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.1468, allocations: 86.36 kB / 0.7015 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1469, allocations: 27.11 kB / 0.7016 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1469, allocations: 26.56 kB / 0.7016 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.147, allocations: 327.8 kB / 0.7019 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.1471, allocations: 18.23 kB / 0.7019 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1471, allocations: 45.64 kB / 0.702 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.1472, allocations: 70.8 kB / 0.702 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1472, allocations: 1.219 kB / 0.702 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001524/0.1474, allocations: 98.03 kB / 0.7021 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1474, allocations: 6.031 kB / 0.7021 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1474, allocations: 5.547 kB / 0.7021 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1474, allocations: 1.469 kB / 0.7021 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.1475, allocations: 15.38 kB / 0.7021 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1475, allocations: 6.031 kB / 0.7021 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.1476, allocations: 12.05 kB / 0.7022 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1476, allocations: 3.906 kB / 0.7022 GB, free: 9.926 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 9.348e-05/0.1477, allocations: 119.5 kB / 0.7023 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.1477, allocations: 6.547 kB / 0.7023 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.1477, allocations: 11.95 kB / 0.7023 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1477, allocations: 1.25 kB / 0.7023 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1477, allocations: 1.469 kB / 0.7023 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1477, allocations: 7.938 kB / 0.7023 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.1481, allocations: 356 kB / 0.7026 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1481, allocations: 0 / 0.7026 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.1482, allocations: 7.625 kB / 0.7027 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1482, allocations: 0 / 0.7027 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1482, allocations: 5.438 kB / 0.7027 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1482, allocations: 1.469 kB / 0.7027 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1482, allocations: 0 / 0.7027 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.1483, allocations: 191.2 kB / 0.7028 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1484, allocations: 78.95 kB / 0.7029 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1484, allocations: 9.328 kB / 0.7029 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.1485, allocations: 3.062 kB / 0.7029 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1485, allocations: 11.86 kB / 0.7029 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1485, allocations: 2.906 kB / 0.7029 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.1486, allocations: 79.62 kB / 0.703 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1486, allocations: 0 / 0.703 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002233/0.1488, allocations: 19.38 kB / 0.703 GB, free: 9.059 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.0004588/0.1493, allocations: 0.7109 MB / 0.7037 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.1494, allocations: 55.48 kB / 0.7038 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1494, allocations: 0 / 0.7038 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.1495, allocations: 30.98 kB / 0.7038 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.1497, allocations: 14.97 kB / 0.7038 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1511, allocations: 1.378 MB / 0.7052 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1514, allocations: 0.6965 MB / 0.7059 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.1514, allocations: 4 kB / 0.7059 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.1515, allocations: 19.42 kB / 0.7059 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1515, allocations: 0 / 0.7059 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1697, allocations: 1.8 MB / 0.7076 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.196, allocations: 11.86 kB / 0.7076 GB, free: 4.559 MB / 0.5137 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.599218834016938] Failed to read output from testmodel.py, exit status != 0: 8.556715328013524 8.340350377 8.19164558 Calling exit ...