Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.621/2.621, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 189.7 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008771/0.0008767, allocations: 90.39 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006504, allocations: 16.75 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2177, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001161/0.2189, allocations: 0.5639 MB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.22, allocations: 0.8719 MB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.2201, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.2202, allocations: 3.938 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2203, allocations: 19.86 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.2205, allocations: 27.95 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2206, allocations: 95.7 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2207, allocations: 33.28 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2209, allocations: 35.78 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.221, allocations: 39.83 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.221, allocations: 4 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.221, allocations: 8 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.2211, allocations: 15.92 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.2211, allocations: 37.64 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.2213, allocations: 91.94 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.2213, allocations: 4 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2213, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2213, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001165/0.2225, allocations: 458.9 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2225, allocations: 16.02 kB / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.2226, allocations: 38.55 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.2226, allocations: 11.91 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2228, allocations: 179.8 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2228, allocations: 4 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.2228, allocations: 8 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.2231, allocations: 105.6 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2232, allocations: 0 / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2232, allocations: 0 / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2232, allocations: 0 / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.2235, allocations: 81.22 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009229/0.2244, allocations: 420.3 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.2247, allocations: 66.5 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2248, allocations: 40.97 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2249, allocations: 0 / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2249, allocations: 34.55 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.2249, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0005426/0.2255, allocations: 121.6 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2255, allocations: 55.41 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2257, allocations: 149.1 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2257, allocations: 33.7 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.2258, allocations: 108 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2258, allocations: 7.812 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.2258, allocations: 7.938 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.2259, allocations: 322.8 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.226, allocations: 31.98 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2262, allocations: 35.98 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2263, allocations: 27.98 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2263, allocations: 3.953 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003327/0.2267, allocations: 105.5 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2267, allocations: 10.59 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2267, allocations: 4 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2267, allocations: 0 / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2269, allocations: 19.97 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2269, allocations: 3.938 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.2272, allocations: 32.05 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2272, allocations: 4 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.933e-05/0.2273, allocations: 121.8 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.2274, allocations: 15.77 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.2275, allocations: 16.3 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2275, allocations: 0 / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2275, allocations: 0 / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2275, allocations: 0 / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2277, allocations: 201.6 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2277, allocations: 0 / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2278, allocations: 15.95 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2279, allocations: 256 / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2279, allocations: 3.984 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2279, allocations: 4 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2279, allocations: 240 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.2282, allocations: 199.4 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.2283, allocations: 81.02 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.2283, allocations: 3.953 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.2286, allocations: 31.97 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.2287, allocations: 19.97 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2288, allocations: 0 / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.128e-05/0.2288, allocations: 119.9 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2289, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002878/0.2292, allocations: 12 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005363/0.2297, allocations: 0.7358 MB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.2301, allocations: 71.97 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2301, allocations: 0 / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.2302, allocations: 39.97 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2306, allocations: 15.89 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2321, allocations: 0.7039 MB / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2322, allocations: 0.7004 MB / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.874e-05/0.2323, allocations: 11.86 kB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.2324, allocations: 31.48 kB / 0.9858 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2324, allocations: 0 / 0.9858 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.2564, allocations: 2.263 MB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.2567, allocations: 200.5 kB / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/2.86, allocations: 2.5 kB / 0.9882 GB, free: 18.01 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)