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.5.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.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7421/0.7421, allocations: 127.4 MB / 134.9 MB, free: 3.742 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.001121/0.001121, allocations: 184.8 kB / 164.7 MB, free: 6.508 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.2 MB / 399.5 MB, free: 5.855 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.0008264/0.0008263, allocations: 101.1 kB / 476.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.526e-05, allocations: 8 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1525, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/0.7194, allocations: 102.8 MB / 0.722 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.7197, allocations: 74.83 kB / 0.7221 GB, free: 12.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003354/0.7231, allocations: 1.174 MB / 0.7232 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.679e-06/0.7231, allocations: 0 / 0.7232 GB, free: 11.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.7231, allocations: 3.938 kB / 0.7232 GB, free: 11.51 MB / 490.7 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.0004678/0.7236, allocations: 388.5 kB / 0.7236 GB, free: 11.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.7236, allocations: 8.031 kB / 0.7236 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.7237, allocations: 11.86 kB / 0.7236 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7238, allocations: 167.1 kB / 0.7238 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.7239, allocations: 3.938 kB / 0.7238 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.7239, allocations: 8.734 kB / 0.7238 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.32e-05/0.724, allocations: 11.94 kB / 0.7238 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.176e-05/0.7241, allocations: 50.19 kB / 0.7238 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7241, allocations: 0.6562 kB / 0.7238 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7241, allocations: 3.938 kB / 0.7238 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.7241, allocations: 0 / 0.7238 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.7246, allocations: 249.2 kB / 0.7241 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.7246, allocations: 33.95 kB / 0.7241 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.7247, allocations: 20.36 kB / 0.7241 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.7247, allocations: 6.125 kB / 0.7241 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.7249, allocations: 108.8 kB / 0.7242 GB, free: 10.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.7249, allocations: 0 / 0.7242 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002547/0.7252, allocations: 85.05 kB / 0.7243 GB, free: 10.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.7252, allocations: 85.06 kB / 0.7244 GB, free: 10.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.7253, allocations: 104.9 kB / 0.7245 GB, free: 10.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7254, allocations: 25.7 kB / 0.7245 GB, free: 10.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.7254, allocations: 92.03 kB / 0.7246 GB, free: 9.953 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.7255, allocations: 15.62 kB / 0.7246 GB, free: 9.941 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/0.7255, allocations: 0 / 0.7246 GB, free: 9.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7256, allocations: 318.6 kB / 0.7249 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.7256, allocations: 11.94 kB / 0.7249 GB, free: 9.617 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.657e-05/0.7257, allocations: 44.86 kB / 0.725 GB, free: 9.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.7257, allocations: 11.81 kB / 0.725 GB, free: 9.566 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7257, allocations: 0 / 0.725 GB, free: 9.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001279/0.7259, allocations: 89.09 kB / 0.7251 GB, free: 9.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.7259, allocations: 33.7 kB / 0.7251 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7259, allocations: 3.938 kB / 0.7251 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7259, allocations: 4.062 kB / 0.7251 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.726, allocations: 4 kB / 0.7251 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.726, allocations: 0 / 0.7251 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.7261, allocations: 23.66 kB / 0.7251 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.7261, allocations: 0 / 0.7251 GB, free: 9.414 MB / 490.7 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 ($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 () * 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.0001244/0.7262, allocations: 143.7 kB / 0.7253 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001426/0.7264, allocations: 96.98 kB / 0.7254 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.7264, allocations: 7.906 kB / 0.7254 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.7264, allocations: 12.62 kB / 0.7254 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.7265, allocations: 4.047 kB / 0.7254 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7265, allocations: 3.938 kB / 0.7254 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7265, allocations: 0 / 0.7254 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.7269, allocations: 341.1 kB / 0.7257 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7269, allocations: 0 / 0.7257 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.7269, allocations: 0 / 0.7257 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7269, allocations: 4 kB / 0.7257 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.7269, allocations: 3.953 kB / 0.7257 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7269, allocations: 4 kB / 0.7257 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7269, allocations: 0 / 0.7257 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.7271, allocations: 195.8 kB / 0.7259 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.7272, allocations: 77.11 kB / 0.726 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.7272, allocations: 12.8 kB / 0.726 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.7273, allocations: 11.95 kB / 0.726 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.7274, allocations: 7.984 kB / 0.726 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.7274, allocations: 4 kB / 0.726 GB, free: 8.469 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.7275, allocations: 87.16 kB / 0.7261 GB, free: 8.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7275, allocations: 0 / 0.7261 GB, free: 8.387 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.7277, allocations: 12 kB / 0.7261 GB, free: 8.375 MB / 490.7 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) * 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 0.0005268/0.7282, allocations: 0.7308 MB / 0.7268 GB, free: 7.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.7284, allocations: 114.9 kB / 0.7269 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7284, allocations: 0 / 0.7269 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.964e-05/0.7285, allocations: 85.47 kB / 0.727 GB, free: 7.445 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.7288, allocations: 19.81 kB / 0.727 GB, free: 7.426 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.7292, allocations: 123.1 kB / 0.7272 GB, free: 7.277 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.7296, allocations: 0.6886 MB / 0.7278 GB, free: 6.562 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.7296, allocations: 8 kB / 0.7278 GB, free: 6.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.7297, allocations: 16.19 kB / 0.7279 GB, free: 6.543 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7297, allocations: 0 / 0.7279 GB, free: 6.543 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.7508, allocations: 1.287 MB / 0.7291 GB, free: 5.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.7511, allocations: 153.9 kB / 0.7293 GB, free: 5.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.392, allocations: 112 / 0.7293 GB, free: 5.07 MB / 490.7 MB (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/linux/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)