Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.001493/0.001493, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00153/0.00153, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.409/1.409, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.853/0.853, allocations: 133.9 MB / 443.5 MB, free: 13.74 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.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",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.001939/0.001939, allocations: 65.41 kB / 0.6141 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.144, allocations: 85.85 MB / 0.6979 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002902/0.1469, allocations: 1.446 MB / 0.6993 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.1478, allocations: 480.8 kB / 0.6998 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.1479, allocations: 1.25 kB / 0.6998 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.1479, allocations: 7.922 kB / 0.6998 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.148, allocations: 9.266 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.1481, allocations: 19.77 kB / 0.6998 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1483, allocations: 52.38 kB / 0.6999 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.1484, allocations: 7.312 kB / 0.6999 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.1484, allocations: 25.09 kB / 0.6999 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.1485, allocations: 21.45 kB / 0.6999 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1485, allocations: 1.969 kB / 0.6999 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.1485, allocations: 7.75 kB / 0.6999 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.1485, allocations: 5.906 kB / 0.6999 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.1486, allocations: 25.86 kB / 0.7 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1487, allocations: 48.23 kB / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1487, allocations: 0 / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1487, allocations: 0 / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1487, allocations: 0 / 0.7 GB, free: 12.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006771/0.1494, allocations: 399.7 kB / 0.7004 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1494, allocations: 11.83 kB / 0.7004 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.1495, allocations: 192 / 0.7004 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.1495, allocations: 33.03 kB / 0.7004 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1495, allocations: 11.28 kB / 0.7004 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1497, allocations: 163.7 kB / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1497, allocations: 9.625 kB / 0.7006 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1497, allocations: 3.719 kB / 0.7006 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1498, allocations: 53.05 kB / 0.7007 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1499, allocations: 3.938 kB / 0.7007 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1499, allocations: 5.562 kB / 0.7007 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1499, allocations: 0 / 0.7007 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/0.1499, allocations: 18.22 kB / 0.7007 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.1504, allocations: 277 kB / 0.7009 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.1505, allocations: 38.48 kB / 0.701 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.1505, allocations: 20.72 kB / 0.701 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1505, allocations: 4 kB / 0.701 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1507, allocations: 95.28 kB / 0.7011 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1507, allocations: 0 / 0.7011 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003099/0.151, allocations: 144.5 kB / 0.7012 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.1511, allocations: 79.86 kB / 0.7013 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1512, allocations: 108.8 kB / 0.7014 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1512, allocations: 35.06 kB / 0.7014 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.1512, allocations: 85.52 kB / 0.7015 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1513, allocations: 22.66 kB / 0.7015 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1513, allocations: 29.95 kB / 0.7016 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1515, allocations: 317.5 kB / 0.7019 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.1515, allocations: 20.52 kB / 0.7019 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.1516, allocations: 37.45 kB / 0.7019 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1517, allocations: 113.7 kB / 0.702 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1517, allocations: 0 / 0.702 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001755/0.1518, allocations: 133.9 kB / 0.7022 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1519, allocations: 37.81 kB / 0.7022 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.1519, allocations: 0 / 0.7022 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1519, allocations: 1.375 kB / 0.7022 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.1519, allocations: 8.062 kB / 0.7022 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.152, allocations: 0 / 0.7022 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.152, allocations: 13.55 kB / 0.7022 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.152, allocations: 6.75 kB / 0.7022 GB, free: 9.758 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001247/0.1522, allocations: 149.3 kB / 0.7024 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1522, allocations: 8.141 kB / 0.7024 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.1522, allocations: 9.75 kB / 0.7024 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1522, allocations: 3.938 kB / 0.7024 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1522, allocations: 5.359 kB / 0.7024 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1522, allocations: 0 / 0.7024 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1526, allocations: 411.3 kB / 0.7028 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1526, allocations: 1.375 kB / 0.7028 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-06/0.1527, allocations: 0 / 0.7028 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1527, allocations: 1.375 kB / 0.7028 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1527, allocations: 5.312 kB / 0.7028 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1527, allocations: 1.375 kB / 0.7028 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1527, allocations: 3.938 kB / 0.7028 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1529, allocations: 221.5 kB / 0.703 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.153, allocations: 90.42 kB / 0.7031 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.153, allocations: 6.75 kB / 0.7031 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.1531, allocations: 5.5 kB / 0.7031 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.1531, allocations: 10.67 kB / 0.7031 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1531, allocations: 8.062 kB / 0.7031 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.1532, allocations: 88.86 kB / 0.7032 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1532, allocations: 3.938 kB / 0.7032 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002277/0.1534, allocations: 17.75 kB / 0.7032 GB, free: 8.773 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005527/0.154, allocations: 0.7669 MB / 0.704 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1542, allocations: 104.1 kB / 0.7041 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1542, allocations: 0 / 0.7041 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.1543, allocations: 84.83 kB / 0.7042 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.1545, allocations: 21.28 kB / 0.7042 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.156, allocations: 1.416 MB / 0.7056 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1563, allocations: 0.6989 MB / 0.7063 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.1563, allocations: 3.375 kB / 0.7063 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.1564, allocations: 15.69 kB / 0.7063 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1564, allocations: 4 kB / 0.7063 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.1741, allocations: 1.929 MB / 0.7082 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.118, allocations: 8.562 kB / 0.7082 GB, free: 3.98 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.721369949984364] Failed to read output from testmodel.py, exit status != 0: 8.508548529993277 8.262425325 8.109591496 Calling exit ...