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: translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00464/0.00464, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001153/0.001153, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 1.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 64.09 kB / 0.5955 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4522, allocations: 82.03 MB / 0.6756 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002182/0.4544, allocations: 1.408 MB / 0.677 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005822/0.455, allocations: 440.6 kB / 0.6774 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.4551, allocations: 1.406 kB / 0.6774 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.4551, allocations: 3.938 kB / 0.6774 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.4552, allocations: 8.984 kB / 0.6774 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.4553, allocations: 23.14 kB / 0.6774 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.4555, allocations: 52.53 kB / 0.6775 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.4556, allocations: 12.56 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.4556, allocations: 28.44 kB / 0.6775 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.4557, allocations: 20.52 kB / 0.6775 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.4557, allocations: 4.5 kB / 0.6775 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.4557, allocations: 3.562 kB / 0.6775 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.4558, allocations: 9.141 kB / 0.6776 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.4558, allocations: 18.88 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.4559, allocations: 39.66 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4559, allocations: 4 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4559, allocations: 0 / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4559, allocations: 5 kB / 0.6776 GB, free: 15.87 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.0005565/0.4565, allocations: 395.3 kB / 0.678 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4565, allocations: 9.219 kB / 0.678 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.4566, allocations: 7.188 kB / 0.678 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4567, allocations: 173.5 kB / 0.6782 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4567, allocations: 2.5 kB / 0.6782 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4567, allocations: 2.406 kB / 0.6782 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4569, allocations: 61.77 kB / 0.6782 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4569, allocations: 4 kB / 0.6782 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.4569, allocations: 5.188 kB / 0.6782 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4569, allocations: 1.156 kB / 0.6782 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.457, allocations: 17.61 kB / 0.6783 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.4573, allocations: 272.4 kB / 0.6785 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.942e-05/0.4574, allocations: 40.73 kB / 0.6786 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.4575, allocations: 21.66 kB / 0.6786 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.4575, allocations: 5.125 kB / 0.6786 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.4577, allocations: 98.56 kB / 0.6787 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4577, allocations: 1.344 kB / 0.6787 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002913/0.458, allocations: 148.1 kB / 0.6788 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.458, allocations: 83.34 kB / 0.6789 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.4581, allocations: 112.1 kB / 0.679 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4582, allocations: 31.05 kB / 0.679 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.4582, allocations: 85.89 kB / 0.6791 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.4582, allocations: 14.69 kB / 0.6791 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.4583, allocations: 30.86 kB / 0.6792 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.4584, allocations: 315.9 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.4584, allocations: 20.3 kB / 0.6795 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.4585, allocations: 38.44 kB / 0.6795 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4586, allocations: 117.1 kB / 0.6796 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4586, allocations: 384 / 0.6796 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001481/0.4588, allocations: 129.6 kB / 0.6798 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.4588, allocations: 32.08 kB / 0.6798 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4588, allocations: 1.219 kB / 0.6798 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4588, allocations: 5.031 kB / 0.6798 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.192e-05/0.4589, allocations: 7.25 kB / 0.6798 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4589, allocations: 0.9688 kB / 0.6798 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.4589, allocations: 12.48 kB / 0.6798 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.459, allocations: 7.25 kB / 0.6798 GB, free: 13.64 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.0001/0.4591, allocations: 146.9 kB / 0.68 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.4591, allocations: 9.062 kB / 0.68 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.4591, allocations: 8.359 kB / 0.68 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4591, allocations: 1.312 kB / 0.68 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4591, allocations: 4.938 kB / 0.68 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4591, allocations: 0 / 0.68 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.4595, allocations: 411.2 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4595, allocations: 0 / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-06/0.4596, allocations: 1.219 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4596, allocations: 1 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4596, allocations: 2.125 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4596, allocations: 0 / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4596, allocations: 1.344 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.4598, allocations: 240.5 kB / 0.6806 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.4599, allocations: 78.23 kB / 0.6807 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4599, allocations: 6.75 kB / 0.6807 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.46, allocations: 8.578 kB / 0.6807 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.46, allocations: 8.312 kB / 0.6807 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.4601, allocations: 3.031 kB / 0.6807 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.4601, allocations: 89.23 kB / 0.6808 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4601, allocations: 0 / 0.6808 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002381/0.4604, allocations: 22.81 kB / 0.6808 GB, free: 12.66 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.0001134/0.4605, allocations: 104.9 kB / 0.6809 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4607, allocations: 116 kB / 0.681 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4607, allocations: 5.031 kB / 0.681 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.4608, allocations: 88.55 kB / 0.6811 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.4611, allocations: 20.05 kB / 0.6811 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.4615, allocations: 151.9 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4617, allocations: 0.6914 MB / 0.682 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.4618, allocations: 3.312 kB / 0.682 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.4618, allocations: 10.66 kB / 0.682 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4618, allocations: 1.094 kB / 0.682 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.003388/0.4652, allocations: 0.9074 MB / 0.6829 GB, free: 11.07 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)