Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",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.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001119/0.001119, allocations: 197.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.495/1.495, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 73.19 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.161, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002208/0.1632, allocations: 1.538 MB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005747/0.1638, allocations: 476.8 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.1639, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.1639, allocations: 3.984 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.164, allocations: 11.92 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.1641, allocations: 19.98 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.1642, allocations: 55.8 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.1643, allocations: 11.98 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.1643, allocations: 19.92 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.1644, allocations: 19.91 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1644, allocations: 4 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.1644, allocations: 4 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.1644, allocations: 11.98 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1645, allocations: 19.88 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.829e-05/0.1645, allocations: 44.08 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1645, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1645, allocations: 4 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.1646, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 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.0004031/0.165, allocations: 355.4 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.165, allocations: 8.031 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.165, allocations: 38.75 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.1651, allocations: 12.84 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.813e-05/0.1652, allocations: 168.3 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1652, allocations: 12.36 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1652, allocations: 4.375 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.085e-05/0.1653, allocations: 53.81 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1653, allocations: 3.984 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1653, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1653, allocations: 4 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.612e-05/0.1654, allocations: 27.92 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1658, allocations: 304.7 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/0.1659, allocations: 54.59 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.1659, allocations: 36.88 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.166, allocations: 0 / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.1661, allocations: 75.39 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1661, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0001875/0.1663, allocations: 101.5 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1663, allocations: 51.41 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.1664, allocations: 105.8 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1664, allocations: 29.7 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.1664, allocations: 84.52 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1665, allocations: 31.62 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1665, allocations: 29.72 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.1666, allocations: 326.7 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.1666, allocations: 15.94 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.1667, allocations: 47.42 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.506e-05/0.1668, allocations: 71.36 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1668, allocations: 0 / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001249/0.1669, allocations: 93.52 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1669, allocations: 4 kB / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1669, allocations: 4 kB / 0.787 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.1669, allocations: 0 / 0.787 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.167, allocations: 11.94 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.167, allocations: 0 / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.1671, allocations: 15.98 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1671, allocations: 7.969 kB / 0.7871 GB, free: 9.281 MB / 0.6075 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.1672, allocations: 124.2 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.1672, allocations: 3.906 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.1672, allocations: 11.95 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1672, allocations: 4 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1672, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1672, allocations: 3.938 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.1676, allocations: 362.4 kB / 0.7875 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1676, allocations: 0 / 0.7875 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.1676, allocations: 11.94 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1676, allocations: 0 / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1676, allocations: 4 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1677, allocations: 4 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1677, allocations: 4 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.1678, allocations: 183.4 kB / 0.7877 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.1678, allocations: 81.11 kB / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1679, allocations: 4 kB / 0.7878 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.1679, allocations: 8.109 kB / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.168, allocations: 11.98 kB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.168, allocations: 7.938 kB / 0.7878 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.955e-05/0.168, allocations: 79.28 kB / 0.7879 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.168, allocations: 0 / 0.7879 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002158/0.1682, allocations: 16 kB / 0.7879 GB, free: 8.277 MB / 0.6075 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 (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.0003403/0.1686, allocations: 0.7182 MB / 0.7886 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1687, allocations: 55.91 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1687, allocations: 0 / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.1688, allocations: 27.94 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.169, allocations: 15.92 kB / 0.7887 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1701, allocations: 1.391 MB / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.1703, allocations: 0.6848 MB / 0.7908 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.1703, allocations: 7.984 kB / 0.7908 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1703, allocations: 15.44 kB / 0.7908 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1703, allocations: 0 / 0.7908 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.395/1.565, allocations: 1.524 MB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.566, allocations: 195.8 kB / 0.7925 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/3.294, allocations: 4.062 kB / 0.7925 GB, free: 3.512 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)