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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001248/0.001249, allocations: 188 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.001091/0.001091, allocations: 90.75 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004305, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3072, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8797/1.187, allocations: 139.7 MB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.187, allocations: 82.84 kB / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005545/1.193, allocations: 1.772 MB / 1.127 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.986e-06/1.193, allocations: 0 / 1.127 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.56e-05/1.193, allocations: 4 kB / 1.127 GB, free: 33.78 MB / 0.7292 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.0007288/1.194, allocations: 447.7 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.42e-05/1.194, allocations: 16.02 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/1.194, allocations: 38.27 kB / 1.127 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/1.194, allocations: 15.55 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/1.194, allocations: 174.4 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/1.194, allocations: 8 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/1.194, allocations: 7.938 kB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/1.195, allocations: 98.34 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/1.195, allocations: 0 / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.195, allocations: 4 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.195, allocations: 0.625 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/1.195, allocations: 78.67 kB / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/1.196, allocations: 419.5 kB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/1.196, allocations: 65.61 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/1.196, allocations: 0 / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.196, allocations: 38.5 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/1.196, allocations: 0.5469 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0003814/1.196, allocations: 120.8 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.196, allocations: 59.41 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.197, allocations: 138.2 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/1.197, allocations: 29.7 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/1.197, allocations: 103.8 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/1.197, allocations: 15.84 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/1.197, allocations: 3.938 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.646e-05/1.197, allocations: 319.1 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/1.197, allocations: 39.08 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/1.197, allocations: 35.45 kB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.067e-05/1.197, allocations: 28.36 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.197, allocations: 0 / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001861/1.197, allocations: 113 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.197, allocations: 8 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.197, allocations: 0 / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.197, allocations: 0.6562 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/1.197, allocations: 12.12 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.197, allocations: 0.5469 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/1.198, allocations: 34.94 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/1.198, allocations: 4 kB / 1.129 GB, free: 31.33 MB / 0.7292 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.136e-05/1.198, allocations: 121.2 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/1.198, allocations: 11.86 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/1.198, allocations: 17.58 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.198, allocations: 4 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.198, allocations: 0 / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/1.198, allocations: 0.75 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/1.198, allocations: 198.5 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.198, allocations: 0.7969 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/1.198, allocations: 11.42 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/1.198, allocations: 3.953 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/1.198, allocations: 1.406 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.198, allocations: 0 / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.198, allocations: 0 / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/1.198, allocations: 197.2 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/1.198, allocations: 84.53 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/1.198, allocations: 8.828 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/1.199, allocations: 31.08 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/1.199, allocations: 22.92 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/1.199, allocations: 4.031 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.6e-05/1.199, allocations: 114.5 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/1.199, allocations: 0 / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002086/1.199, allocations: 16 kB / 1.13 GB, free: 30.48 MB / 0.7292 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.0004376/1.199, allocations: 0.7309 MB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002159/1.2, allocations: 74.81 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.2, allocations: 0 / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/1.2, allocations: 36.27 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/1.2, allocations: 16.95 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.201, allocations: 0.6902 MB / 1.131 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/1.201, allocations: 0.7073 MB / 1.132 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.811e-05/1.201, allocations: 8.891 kB / 1.132 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/1.201, allocations: 22.97 kB / 1.132 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/1.201, allocations: 4 kB / 1.132 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/1.215, allocations: 2.254 MB / 1.134 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.216, allocations: 184.6 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/3.259, allocations: 0 / 1.134 GB, free: 26.79 MB / 0.7292 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/linux/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)