Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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: "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 102.3 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 193.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7367/0.7367, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 58.8 kB / 0.5571 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1428, allocations: 76.19 MB / 0.6315 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002745/0.1455, allocations: 1.404 MB / 0.6329 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.1465, allocations: 435 kB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.1465, allocations: 4 kB / 0.6333 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.462e-05/0.1466, allocations: 3.938 kB / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1467, allocations: 7.922 kB / 0.6333 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1469, allocations: 19.92 kB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1471, allocations: 55.78 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1472, allocations: 11.98 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.1473, allocations: 19.88 kB / 0.6334 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.1474, allocations: 19.91 kB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1474, allocations: 4 kB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.1474, allocations: 7.938 kB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.1475, allocations: 8 kB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.1475, allocations: 23.86 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1477, allocations: 46.69 kB / 0.6336 GB, free: 2.875 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1477, allocations: 0 / 0.6336 GB, free: 2.875 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1477, allocations: 4 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1477, allocations: 4 kB / 0.6336 GB, free: 2.867 MB / 478.1 MB 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.0006902/0.1484, allocations: 389.8 kB / 0.6339 GB, free: 2.434 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1485, allocations: 8.031 kB / 0.6339 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.1485, allocations: 34.75 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.1485, allocations: 8.875 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1487, allocations: 176.2 kB / 0.6341 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.1487, allocations: 12.38 kB / 0.6342 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1487, allocations: 4.375 kB / 0.6342 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1489, allocations: 49.81 kB / 0.6342 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1489, allocations: 0 / 0.6342 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1489, allocations: 8 kB / 0.6342 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1489, allocations: 0 / 0.6342 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.149, allocations: 15.98 kB / 0.6342 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.1494, allocations: 272.8 kB / 0.6345 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.155e-05/0.1495, allocations: 46.56 kB / 0.6345 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.1495, allocations: 20.98 kB / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1496, allocations: 0 / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1497, allocations: 101.1 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.956e-06/0.1498, allocations: 0 / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002818/0.15, allocations: 139.2 kB / 0.6348 GB, free: 1.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1501, allocations: 89.11 kB / 0.6349 GB, free: 1.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.1502, allocations: 105.8 kB / 0.635 GB, free: 1.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1502, allocations: 37.64 kB / 0.635 GB, free: 1.148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.1503, allocations: 84.2 kB / 0.6351 GB, free: 1.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1503, allocations: 23.73 kB / 0.6351 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1503, allocations: 22 kB / 0.6351 GB, free: 1.012 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.1505, allocations: 322.8 kB / 0.6354 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.1505, allocations: 16 kB / 0.6355 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.1505, allocations: 46.44 kB / 0.6355 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1507, allocations: 113.9 kB / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1507, allocations: 0 / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001563/0.1508, allocations: 127.2 kB / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.1509, allocations: 29.7 kB / 0.6358 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1509, allocations: 4 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1509, allocations: 8.047 kB / 0.6358 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/0.151, allocations: 4 kB / 0.6358 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.151, allocations: 0 / 0.6358 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.151, allocations: 7.938 kB / 0.6358 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1511, allocations: 4 kB / 0.6358 GB, free: 292 kB / 478.1 MB 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.0001178/0.1512, allocations: 164.4 kB / 0.6359 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.1512, allocations: 7.906 kB / 0.636 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.1512, allocations: 8.312 kB / 0.636 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1512, allocations: 8 kB / 0.636 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1513, allocations: 0 / 0.636 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1513, allocations: 0 / 0.636 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.1517, allocations: 404.1 kB / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1517, allocations: 0 / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-06/0.1517, allocations: 0 / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1517, allocations: 0 / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1518, allocations: 8 kB / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1518, allocations: 0 / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1518, allocations: 4 kB / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.152, allocations: 237.1 kB / 0.6366 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.152, allocations: 81.02 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1521, allocations: 4 kB / 0.6367 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1522, allocations: 11.98 kB / 0.6367 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.1522, allocations: 12.02 kB / 0.6367 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1523, allocations: 7.938 kB / 0.6367 GB, free: 15.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.1523, allocations: 87.81 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1523, allocations: 4 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1526, allocations: 16 kB / 0.6368 GB, free: 15.12 MB / 494.1 MB 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.0004869/0.1531, allocations: 0.7628 MB / 0.6375 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1533, allocations: 115.3 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1533, allocations: 4.125 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.1534, allocations: 91.7 kB / 0.6377 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1537, allocations: 11.94 kB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.155, allocations: 1.432 MB / 0.6392 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1552, allocations: 0.6924 MB / 0.6398 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1552, allocations: 0 / 0.6398 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.1553, allocations: 15.44 kB / 0.6399 GB, free: 11.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1553, allocations: 0 / 0.6399 GB, free: 11.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.1739, allocations: 1.919 MB / 0.6417 GB, free: 9.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.005, allocations: 3.984 kB / 0.6417 GB, free: 9.98 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)