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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6208/0.6208, allocations: 117.9 MB / 133.9 MB, free: 4.504 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009934/0.0009935, allocations: 182.8 kB / 161.7 MB, free: 2.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 394.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007235/0.0007235, allocations: 93.22 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005478, allocations: 15.98 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3526, allocations: 74.53 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5134, allocations: 102.1 MB / 0.7148 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5137, allocations: 75.95 kB / 0.7149 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003375/0.517, allocations: 1.208 MB / 0.7161 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5171, allocations: 0 / 0.7161 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.609e-06/0.5171, allocations: 0 / 0.7161 GB, free: 14.57 MB / 0.4948 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.0004995/0.5176, allocations: 389.1 kB / 0.7164 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5176, allocations: 12.03 kB / 0.7165 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.5177, allocations: 8.844 kB / 0.7165 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5178, allocations: 172.2 kB / 0.7166 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5179, allocations: 4.375 kB / 0.7166 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.5179, allocations: 4.375 kB / 0.7166 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.518, allocations: 50.23 kB / 0.7167 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.518, allocations: 192 / 0.7167 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.518, allocations: 3.938 kB / 0.7167 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5181, allocations: 3.938 kB / 0.7167 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.081e-05/0.5181, allocations: 23.98 kB / 0.7167 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.5185, allocations: 268.9 kB / 0.717 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/0.5186, allocations: 42.45 kB / 0.717 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.5187, allocations: 28.97 kB / 0.717 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.5187, allocations: 0 / 0.717 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.5189, allocations: 101.2 kB / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.5189, allocations: 0 / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002898/0.5192, allocations: 143.2 kB / 0.7173 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.5193, allocations: 89.09 kB / 0.7174 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.5194, allocations: 105.8 kB / 0.7175 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5194, allocations: 29.7 kB / 0.7175 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.5194, allocations: 84.42 kB / 0.7176 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5195, allocations: 19.75 kB / 0.7176 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.5195, allocations: 4 kB / 0.7176 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5196, allocations: 326.8 kB / 0.7179 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.5197, allocations: 15.94 kB / 0.7179 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.5197, allocations: 38.56 kB / 0.718 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.5198, allocations: 110 kB / 0.7181 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5199, allocations: 7.938 kB / 0.7181 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001684/0.52, allocations: 123.2 kB / 0.7182 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.5201, allocations: 29.7 kB / 0.7182 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5201, allocations: 3.938 kB / 0.7182 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5201, allocations: 4 kB / 0.7182 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.5202, allocations: 7.984 kB / 0.7182 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5202, allocations: 4 kB / 0.7182 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.5203, allocations: 4 kB / 0.7182 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.5203, allocations: 4 kB / 0.7182 GB, free: 12.06 MB / 0.4948 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.5204, allocations: 155.5 kB / 0.7184 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.5204, allocations: 7.906 kB / 0.7184 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.5205, allocations: 8.375 kB / 0.7184 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5205, allocations: 4 kB / 0.7184 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.5205, allocations: 0 / 0.7184 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5205, allocations: 3.938 kB / 0.7184 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.5209, allocations: 396.1 kB / 0.7188 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5209, allocations: 8 kB / 0.7188 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.5209, allocations: 7.922 kB / 0.7188 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5209, allocations: 0 / 0.7188 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.521, allocations: 8.062 kB / 0.7188 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.521, allocations: 0 / 0.7188 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.521, allocations: 0 / 0.7188 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.5212, allocations: 229.2 kB / 0.719 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.5213, allocations: 81.02 kB / 0.7191 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.5213, allocations: 96 / 0.7191 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5214, allocations: 19.92 kB / 0.7191 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.5215, allocations: 15.92 kB / 0.7191 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.5215, allocations: 4 kB / 0.7191 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.5216, allocations: 91.22 kB / 0.7192 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5216, allocations: 0 / 0.7192 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002349/0.5218, allocations: 15.98 kB / 0.7192 GB, free: 10.91 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.983e-05/0.5219, allocations: 103 kB / 0.7193 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.5221, allocations: 115.3 kB / 0.7195 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5221, allocations: 0 / 0.7195 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.5222, allocations: 91.39 kB / 0.7195 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5225, allocations: 11.98 kB / 0.7196 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.5229, allocations: 161.7 kB / 0.7197 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5232, allocations: 0.6848 MB / 0.7204 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.5232, allocations: 7.938 kB / 0.7204 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.5232, allocations: 7.438 kB / 0.7204 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of SimCode: time 2e-07/0.5232, allocations: 3.938 kB / 0.7204 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.002936/0.5262, allocations: 0.7472 MB / 0.7211 GB, free: 8.91 MB / 0.4948 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)