Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",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.7277/0.7277, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001093/0.001093, allocations: 180.5 kB / 173.7 MB, free: 6.113 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.564/1.564, allocations: 205.4 MB / 409 MB, free: 10.48 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.000917/0.0009169, allocations: 86.94 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 10 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.2982, allocations: 103.3 MB / 0.7363 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.2985, allocations: 79.95 kB / 0.7363 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003209/0.3018, allocations: 1.11 MB / 0.7374 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3018, allocations: 0 / 0.7374 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3018, allocations: 0 / 0.7374 GB, free: 5.812 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004403/0.3023, allocations: 363.2 kB / 0.7378 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3023, allocations: 8.031 kB / 0.7378 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.3024, allocations: 42.5 kB / 0.7378 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.3024, allocations: 11.86 kB / 0.7378 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3026, allocations: 163.1 kB / 0.738 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3026, allocations: 4 kB / 0.738 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3026, allocations: 8 kB / 0.738 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3027, allocations: 49.69 kB / 0.7381 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3028, allocations: 3.938 kB / 0.7381 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3028, allocations: 11.91 kB / 0.7381 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3028, allocations: 8 kB / 0.7381 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.3029, allocations: 27.94 kB / 0.7381 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.3034, allocations: 292.9 kB / 0.7384 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3035, allocations: 66.59 kB / 0.7384 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.3035, allocations: 0 / 0.7384 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.3037, allocations: 75.55 kB / 0.7385 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.3037, allocations: 0 / 0.7385 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002228/0.3039, allocations: 97.53 kB / 0.7386 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.304, allocations: 63.33 kB / 0.7387 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.3041, allocations: 93 kB / 0.7388 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3041, allocations: 37.7 kB / 0.7388 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3042, allocations: 92.03 kB / 0.7389 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3042, allocations: 15.75 kB / 0.7389 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.3042, allocations: 4 kB / 0.7389 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3043, allocations: 321 kB / 0.7392 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.3044, allocations: 20 kB / 0.7392 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.3044, allocations: 39.42 kB / 0.7393 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.3045, allocations: 24 kB / 0.7393 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3045, allocations: 0 / 0.7393 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001564/0.3047, allocations: 101.5 kB / 0.7394 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3047, allocations: 6.5 kB / 0.7394 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3047, allocations: 3.953 kB / 0.7394 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3047, allocations: 4 kB / 0.7394 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.3048, allocations: 11.98 kB / 0.7394 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3048, allocations: 0 / 0.7394 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.3049, allocations: 12.03 kB / 0.7394 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3049, allocations: 8.375 kB / 0.7394 GB, free: 3.535 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.799e-05/0.305, allocations: 121.7 kB / 0.7395 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.3051, allocations: 11.89 kB / 0.7396 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.3051, allocations: 7.969 kB / 0.7396 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3051, allocations: 7.891 kB / 0.7396 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3051, allocations: 0 / 0.7396 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3051, allocations: 0 / 0.7396 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.3056, allocations: 358.5 kB / 0.7399 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3056, allocations: 0 / 0.7399 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.3056, allocations: 4.281 kB / 0.7399 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3056, allocations: 7.953 kB / 0.7399 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3057, allocations: 3.984 kB / 0.7399 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3057, allocations: 0 / 0.7399 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3057, allocations: 0 / 0.7399 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3059, allocations: 187.4 kB / 0.7401 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.3059, allocations: 85.03 kB / 0.7402 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.306, allocations: 7.953 kB / 0.7402 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.3061, allocations: 8.062 kB / 0.7402 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.3061, allocations: 15.92 kB / 0.7402 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3061, allocations: 4 kB / 0.7402 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.3062, allocations: 91.27 kB / 0.7403 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.986e-06/0.3062, allocations: 0 / 0.7403 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000223/0.3064, allocations: 11.94 kB / 0.7403 GB, free: 2.516 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004741/0.3069, allocations: 0.7184 MB / 0.741 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.307, allocations: 51.86 kB / 0.7411 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3071, allocations: 4.062 kB / 0.7411 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.3071, allocations: 35.92 kB / 0.7411 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.3073, allocations: 7.953 kB / 0.7411 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.3084, allocations: 0.9346 MB / 0.742 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.297/0.6054, allocations: 0.6859 MB / 0.7427 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.6055, allocations: 6.922 kB / 0.7427 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.6056, allocations: 15.75 kB / 0.7427 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.6056, allocations: 0 / 0.7427 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.6176, allocations: 1.463 MB / 0.7442 GB, free: 109 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.6178, allocations: 183.8 kB / 0.7443 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.114, allocations: 0 / 0.7443 GB, free: 108.8 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)