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.484/2.484, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.002039/0.002039, allocations: 180.8 kB / 360.6 MB, free: 7.277 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.218/2.218, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 97.03 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.611e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8232, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/1.072, allocations: 137.8 MB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/1.073, allocations: 85.38 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008848/1.082, allocations: 1.753 MB / 1.1 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.619e-06/1.082, allocations: 1.656 kB / 1.1 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.082, allocations: 7.938 kB / 1.1 GB, free: 0.9688 MB / 0.698 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.00101/1.083, allocations: 423.5 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.083, allocations: 12.03 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/1.083, allocations: 15.77 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/1.083, allocations: 181 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/1.083, allocations: 4 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/1.083, allocations: 8 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001884/1.083, allocations: 42.73 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/1.084, allocations: 77.59 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.084, allocations: 0 / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.084, allocations: 0 / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.084, allocations: 10.14 kB / 1.101 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/1.085, allocations: 377.1 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/1.085, allocations: 44.41 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.188e-05/1.085, allocations: 28.97 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/1.085, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.085, allocations: 30.56 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/1.085, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002947/1.085, allocations: 65.59 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.086, allocations: 59.34 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/1.086, allocations: 121.3 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.086, allocations: 29.7 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/1.086, allocations: 104.1 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/1.086, allocations: 15.8 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/1.086, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.086, allocations: 322.8 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/1.086, allocations: 21.5 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/1.086, allocations: 20 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/1.086, allocations: 11.98 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.086, allocations: 7.953 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002092/1.087, allocations: 72.8 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.087, allocations: 4.219 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.087, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.087, allocations: 7.938 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/1.087, allocations: 11.94 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.087, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/1.087, allocations: 35.95 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/1.087, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 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 () * 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 0.0001164/1.087, allocations: 117.9 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001915/1.088, allocations: 68.73 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/1.088, allocations: 11.91 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/1.088, allocations: 12.41 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.088, allocations: 6.062 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.088, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.088, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/1.088, allocations: 174.1 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.088, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/1.088, allocations: 13.02 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.088, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.088, allocations: 7.984 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.088, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.088, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/1.088, allocations: 163.5 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/1.089, allocations: 84.97 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/1.089, allocations: 4 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/1.089, allocations: 31.97 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/1.089, allocations: 15.97 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/1.089, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001057/1.089, allocations: 103.3 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.089, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000344/1.09, allocations: 15.94 kB / 1.103 GB, free: 13.77 MB / 0.7136 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) * 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.0006191/1.09, allocations: 0.7043 MB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002089/1.09, allocations: 47.98 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.09, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.394e-05/1.091, allocations: 30.56 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/1.091, allocations: 15.97 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006864/1.092, allocations: 148.3 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.092, allocations: 0.7002 MB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001064/1.092, allocations: 9.422 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/1.092, allocations: 27.44 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of SimCode: time 1.233e-06/1.092, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/1.131, allocations: 1.743 MB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003832/1.132, allocations: 153.1 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.396, allocations: 0.7031 kB / 1.106 GB, free: 10.13 MB / 0.7136 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)