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.004516/0.004516, allocations: 101.5 kB / 15.88 MB, free: 6.312 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.00121/0.00121, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.15/1.15, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6095/0.6095, allocations: 115.4 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 64.03 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1098, allocations: 76.19 MB / 0.5558 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002186/0.112, allocations: 1.473 MB / 0.5573 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006012/0.1126, allocations: 427 kB / 0.5577 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.1126, allocations: 7.938 kB / 0.5577 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.1127, allocations: 3.938 kB / 0.5577 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.1128, allocations: 15.91 kB / 0.5577 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.1129, allocations: 12 kB / 0.5577 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.113, allocations: 43.84 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.894e-05/0.113, allocations: 4 kB / 0.5578 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.1131, allocations: 19.92 kB / 0.5578 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.1131, allocations: 23.86 kB / 0.5578 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1132, allocations: 0 / 0.5578 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.1132, allocations: 8 kB / 0.5578 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.1132, allocations: 7.922 kB / 0.5578 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.1133, allocations: 23.92 kB / 0.5578 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.469e-05/0.1133, allocations: 36.17 kB / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1133, allocations: 0 / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1133, allocations: 0 / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.1134, allocations: 0 / 0.5579 GB, free: 8.609 MB / 430.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.0004732/0.1138, allocations: 389 kB / 0.5583 GB, free: 8.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1139, allocations: 16.03 kB / 0.5583 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.1139, allocations: 38.73 kB / 0.5583 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.1139, allocations: 8.875 kB / 0.5583 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.114, allocations: 176.2 kB / 0.5585 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1141, allocations: 384 / 0.5585 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1141, allocations: 4.375 kB / 0.5585 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.1142, allocations: 61.73 kB / 0.5585 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.1142, allocations: 0 / 0.5585 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1142, allocations: 3.938 kB / 0.5586 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1142, allocations: 0 / 0.5586 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.1143, allocations: 20 kB / 0.5586 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.1146, allocations: 276.8 kB / 0.5588 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.011e-05/0.1147, allocations: 34.58 kB / 0.5589 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.1147, allocations: 28.89 kB / 0.5589 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1147, allocations: 4 kB / 0.5589 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.1149, allocations: 101.1 kB / 0.559 GB, free: 7.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1149, allocations: 0 / 0.559 GB, free: 7.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000229/0.1151, allocations: 143.3 kB / 0.5591 GB, free: 7.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1152, allocations: 81.11 kB / 0.5592 GB, free: 7.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.1153, allocations: 113.8 kB / 0.5593 GB, free: 6.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1153, allocations: 29.69 kB / 0.5593 GB, free: 6.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.1153, allocations: 84.14 kB / 0.5594 GB, free: 6.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.1153, allocations: 15.81 kB / 0.5594 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1154, allocations: 29.7 kB / 0.5595 GB, free: 6.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.1155, allocations: 322.8 kB / 0.5598 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.1155, allocations: 15.98 kB / 0.5598 GB, free: 6.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.444e-05/0.1156, allocations: 38.56 kB / 0.5598 GB, free: 6.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.1156, allocations: 114.3 kB / 0.5599 GB, free: 6.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1157, allocations: 0 / 0.5599 GB, free: 6.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001384/0.1158, allocations: 127.2 kB / 0.5601 GB, free: 6.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.1158, allocations: 37.69 kB / 0.5601 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1158, allocations: 0 / 0.5601 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1159, allocations: 0 / 0.5601 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.1159, allocations: 7.938 kB / 0.5601 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1159, allocations: 0 / 0.5601 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.116, allocations: 23.86 kB / 0.5601 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.116, allocations: 64 / 0.5601 GB, free: 6.012 MB / 430.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 8.502e-05/0.1161, allocations: 153.4 kB / 0.5603 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.1161, allocations: 7.906 kB / 0.5603 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.1161, allocations: 12.38 kB / 0.5603 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1161, allocations: 3.984 kB / 0.5603 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1161, allocations: 3.938 kB / 0.5603 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1161, allocations: 0 / 0.5603 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1165, allocations: 400.2 kB / 0.5607 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1165, allocations: 4 kB / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-06/0.1165, allocations: 0 / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1165, allocations: 0 / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1165, allocations: 4 kB / 0.5607 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1165, allocations: 0 / 0.5607 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1165, allocations: 3.938 kB / 0.5607 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.1167, allocations: 237.1 kB / 0.5609 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.1168, allocations: 85 kB / 0.561 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1168, allocations: 4 kB / 0.561 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.1169, allocations: 8 kB / 0.561 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1169, allocations: 11.92 kB / 0.561 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.117, allocations: 12.06 kB / 0.561 GB, free: 4.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.736e-05/0.117, allocations: 87.27 kB / 0.5611 GB, free: 4.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.117, allocations: 0 / 0.5611 GB, free: 4.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.1172, allocations: 16 kB / 0.5611 GB, free: 4.863 MB / 430.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.0003854/0.1176, allocations: 0.7571 MB / 0.5619 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1178, allocations: 115.3 kB / 0.562 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1178, allocations: 7.938 kB / 0.562 GB, free: 3.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.1179, allocations: 91.33 kB / 0.5621 GB, free: 3.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1181, allocations: 19.92 kB / 0.5621 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1192, allocations: 1.418 MB / 0.5635 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.1194, allocations: 0.6848 MB / 0.5641 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.891e-05/0.1194, allocations: 11.77 kB / 0.5642 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1195, allocations: 23.44 kB / 0.5642 GB, free: 1.555 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1195, allocations: 0 / 0.5642 GB, free: 1.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.473/1.592, allocations: 1.649 MB / 0.5658 GB, free: 20 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/1.593, allocations: 190.4 kB / 0.566 GB, free: 15.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/3.095, allocations: 0 / 0.566 GB, free: 15.77 MB / 446.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)