Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_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.009708/0.009708, allocations: 98.62 kB / 15.73 MB, free: 5.547 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.001474/0.001474, allocations: 192.2 kB / 16.67 MB, free: 5.492 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.055 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9773/0.9773, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 63.89 kB / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4316, allocations: 82.03 MB / 0.6751 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00207/0.4337, allocations: 1.414 MB / 0.6765 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000667/0.4344, allocations: 436.6 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.4344, allocations: 0 / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.4345, allocations: 0 / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.4346, allocations: 21.25 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.4348, allocations: 16.08 kB / 0.677 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.4349, allocations: 52.14 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.435, allocations: 12.58 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.4351, allocations: 23.88 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.4351, allocations: 17.52 kB / 0.6771 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4351, allocations: 7.25 kB / 0.6771 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.4352, allocations: 3.719 kB / 0.6771 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.4352, allocations: 18.56 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.4352, allocations: 22.08 kB / 0.6771 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.4354, allocations: 37.11 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4354, allocations: 1.219 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4354, allocations: 3.938 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4354, allocations: 0 / 0.6771 GB, free: 15.63 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.0005776/0.436, allocations: 391.7 kB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.436, allocations: 9.656 kB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.4361, allocations: 39.84 kB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.4361, allocations: 8.5 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4362, allocations: 174.8 kB / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4363, allocations: 6.922 kB / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.4363, allocations: 2.5 kB / 0.6778 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.4364, allocations: 53.16 kB / 0.6778 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4364, allocations: 0 / 0.6778 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4364, allocations: 8.953 kB / 0.6778 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4364, allocations: 1.094 kB / 0.6778 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.599e-05/0.4365, allocations: 17.91 kB / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.4369, allocations: 276.9 kB / 0.6781 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.437, allocations: 41.28 kB / 0.6781 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.437, allocations: 21.09 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.4371, allocations: 1.031 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.4372, allocations: 106.9 kB / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4372, allocations: 0 / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002774/0.4375, allocations: 144.1 kB / 0.6784 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.4376, allocations: 80.52 kB / 0.6785 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.4377, allocations: 115 kB / 0.6786 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4377, allocations: 27.95 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.4378, allocations: 89.16 kB / 0.6787 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.4378, allocations: 11.62 kB / 0.6787 GB, free: 14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.4378, allocations: 25.69 kB / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4379, allocations: 329 kB / 0.679 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.438, allocations: 16.84 kB / 0.6791 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.438, allocations: 34.06 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.4381, allocations: 116.3 kB / 0.6792 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4381, allocations: 1.094 kB / 0.6792 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001554/0.4383, allocations: 129.2 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.4383, allocations: 36.03 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4384, allocations: 0.8438 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4384, allocations: 1.062 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.4384, allocations: 3.125 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4384, allocations: 1.094 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.4385, allocations: 9.156 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4385, allocations: 4.062 kB / 0.6794 GB, free: 13.36 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.0001018/0.4386, allocations: 158.3 kB / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.4387, allocations: 7.906 kB / 0.6795 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.4387, allocations: 9.375 kB / 0.6795 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4387, allocations: 1.125 kB / 0.6795 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4387, allocations: 9.031 kB / 0.6796 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4387, allocations: 3.984 kB / 0.6796 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.4391, allocations: 399.1 kB / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4391, allocations: 0 / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.4391, allocations: 1.156 kB / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4391, allocations: 5.094 kB / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4391, allocations: 2.281 kB / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4391, allocations: 0 / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4392, allocations: 4.938 kB / 0.68 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.4394, allocations: 232.5 kB / 0.6802 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.4394, allocations: 87.2 kB / 0.6803 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4394, allocations: 5.922 kB / 0.6803 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4396, allocations: 8.719 kB / 0.6803 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.4396, allocations: 19.78 kB / 0.6803 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.4396, allocations: 7.469 kB / 0.6803 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.4397, allocations: 85.17 kB / 0.6804 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4397, allocations: 0 / 0.6804 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002302/0.4399, allocations: 18 kB / 0.6804 GB, free: 12.36 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.0004448/0.4404, allocations: 0.7581 MB / 0.6811 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.4405, allocations: 117.2 kB / 0.6812 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4406, allocations: 0 / 0.6812 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.4406, allocations: 89.14 kB / 0.6813 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4409, allocations: 17.2 kB / 0.6813 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4421, allocations: 1.431 MB / 0.6827 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.4423, allocations: 0.6869 MB / 0.6834 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.4424, allocations: 3.375 kB / 0.6834 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.4424, allocations: 18.81 kB / 0.6834 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4424, allocations: 1.094 kB / 0.6834 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.458, allocations: 1.927 MB / 0.6853 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.062, allocations: 5.219 kB / 0.6853 GB, free: 8.34 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)