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.001103/0.001103, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.316/1.316, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.697/1.697, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001475/0.001475, allocations: 65.47 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2369, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003027/0.24, allocations: 1.484 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008703/0.2409, allocations: 480.8 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.241, allocations: 4 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.2411, allocations: 7.938 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.2411, allocations: 3.938 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.2413, allocations: 27.91 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2414, allocations: 51.84 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2416, allocations: 11.98 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.2416, allocations: 19.92 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2417, allocations: 27.86 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2417, allocations: 4 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.2417, allocations: 4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.2418, allocations: 11.98 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.2418, allocations: 31.84 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.242, allocations: 40.11 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.242, allocations: 0 / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.242, allocations: 0 / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.242, allocations: 0 / 0.7858 GB, free: 11.07 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.0005405/0.2425, allocations: 359.5 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2426, allocations: 8.031 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.2426, allocations: 38.75 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.2427, allocations: 8.844 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2428, allocations: 172.3 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2428, allocations: 4.312 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2428, allocations: 12.31 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.243, allocations: 61.8 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.243, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.243, allocations: 3.984 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.243, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.2431, allocations: 31.92 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.2436, allocations: 304.6 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2437, allocations: 58.56 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.2438, allocations: 24.94 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2438, allocations: 0 / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.244, allocations: 75.42 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.244, allocations: 0 / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002332/0.2442, allocations: 105.5 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2443, allocations: 55.41 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.2443, allocations: 101.8 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2444, allocations: 33.7 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.2444, allocations: 84.12 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.2445, allocations: 23.66 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.2445, allocations: 33.7 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2446, allocations: 318.8 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.2447, allocations: 19.98 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.2448, allocations: 47.36 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.2449, allocations: 63.44 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2449, allocations: 0 / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001482/0.245, allocations: 97.45 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.245, allocations: 8.938 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2451, allocations: 0 / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2451, allocations: 0 / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.2452, allocations: 8 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2452, allocations: 11.92 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.2452, allocations: 8 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2453, allocations: 7.938 kB / 0.7879 GB, free: 8.668 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 9.446e-05/0.2454, allocations: 124.9 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.2454, allocations: 8.281 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.2454, allocations: 15.94 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.2454, allocations: 0 / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2454, allocations: 0 / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2454, allocations: 3.938 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.2459, allocations: 362.4 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2459, allocations: 4 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.2459, allocations: 4 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2459, allocations: 0 / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2459, allocations: 4 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2459, allocations: 8 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2459, allocations: 3.984 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.2461, allocations: 175.4 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.2462, allocations: 81.11 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2462, allocations: 11.98 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.2463, allocations: 7.938 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.2463, allocations: 11.92 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2463, allocations: 0 / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.2464, allocations: 83.28 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2464, allocations: 4 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002399/0.2466, allocations: 15.98 kB / 0.7887 GB, free: 7.656 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.0004552/0.2471, allocations: 0.7163 MB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2473, allocations: 56.14 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2473, allocations: 0 / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.2473, allocations: 27.92 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2476, allocations: 15.94 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2491, allocations: 1.379 MB / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2494, allocations: 0.6846 MB / 0.7915 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.2494, allocations: 4 kB / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.2495, allocations: 23.42 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2495, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.2685, allocations: 1.724 MB / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.87, allocations: 9.547 kB / 0.7933 GB, free: 2.941 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)