Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, 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.0009614/0.0009614, allocations: 196.7 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.195/1.195, allocations: 205.1 MB / 222 MB, free: 4.719 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.57/1.57, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001352/0.001352, allocations: 66.92 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2061, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002099/0.2083, allocations: 0.9462 MB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008825/0.2092, allocations: 0.871 MB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2092, allocations: 4 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.2093, allocations: 7.922 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.2093, allocations: 11.86 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.2095, allocations: 31.97 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2096, allocations: 107.6 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2097, allocations: 41.09 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.2098, allocations: 39.84 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.2099, allocations: 43.77 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2099, allocations: 7.938 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.21, allocations: 12 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.21, allocations: 11.92 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.21, allocations: 47.72 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.2102, allocations: 119.8 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2102, allocations: 0 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2102, allocations: 4 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.2102, allocations: 0 / 0.785 GB, free: 11.6 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007926/0.211, allocations: 459 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2111, allocations: 16.03 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.2111, allocations: 42.69 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.2111, allocations: 12.84 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2113, allocations: 180.1 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2113, allocations: 4.375 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2113, allocations: 8.375 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2115, allocations: 98.09 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2115, allocations: 7.922 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2115, allocations: 0 / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.2116, allocations: 11.94 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.2117, allocations: 59.97 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.2124, allocations: 408.4 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2126, allocations: 62.55 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.2127, allocations: 32.97 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2127, allocations: 4 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2127, allocations: 34.56 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2127, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003184/0.2131, allocations: 109.5 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2131, allocations: 55.34 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2132, allocations: 153.5 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2132, allocations: 33.7 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.2133, allocations: 104 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.2133, allocations: 7.906 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.2134, allocations: 25.7 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2135, allocations: 318.8 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.2136, allocations: 27.98 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.2137, allocations: 27.98 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2138, allocations: 52.83 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2138, allocations: 0 / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002005/0.214, allocations: 109.4 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2141, allocations: 4 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2141, allocations: 0 / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2141, allocations: 4 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.2142, allocations: 7.938 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2142, allocations: 3.938 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2144, allocations: 36.03 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2144, allocations: 0 / 0.7875 GB, free: 8.895 MB / 0.6075 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.446e-05/0.2145, allocations: 122.5 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.2145, allocations: 7.906 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.2145, allocations: 12.56 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2146, allocations: 4 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2146, allocations: 11.88 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2146, allocations: 3.984 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.2148, allocations: 197.6 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2148, allocations: 7.922 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.2148, allocations: 8 kB / 0.7878 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2148, allocations: 0 / 0.7878 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2149, allocations: 0 / 0.7878 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2149, allocations: 3.984 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2149, allocations: 3.938 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.2151, allocations: 183.4 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.2152, allocations: 92.91 kB / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2152, allocations: 0 / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2154, allocations: 23.97 kB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2154, allocations: 19.92 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2155, allocations: 3.984 kB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.043e-05/0.2155, allocations: 113.5 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.432e-06/0.2155, allocations: 0 / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000224/0.2158, allocations: 15.94 kB / 0.7883 GB, free: 7.977 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: 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 (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.000589/0.2164, allocations: 0.7241 MB / 0.789 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2166, allocations: 67.89 kB / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2166, allocations: 0 / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.2167, allocations: 31.98 kB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.217, allocations: 19.88 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2186, allocations: 1.612 MB / 0.7906 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2189, allocations: 0.6965 MB / 0.7913 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.2189, allocations: 7.859 kB / 0.7913 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.219, allocations: 27.42 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.219, allocations: 4 kB / 0.7914 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.2306, allocations: 2.361 MB / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.2308, allocations: 217.5 kB / 0.7939 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.939, allocations: 0 / 0.7939 GB, free: 2.172 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)