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.001044/0.001044, 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.001138/0.001138, allocations: 187.4 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.296/1.296, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.72/1.72, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001855/0.001855, allocations: 74.77 kB / 0.6718 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2449, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002754/0.2477, allocations: 0.8818 MB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.249, allocations: 0.8632 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.2491, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.2491, allocations: 11.86 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.2493, allocations: 19.8 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.2495, allocations: 39.95 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.2497, allocations: 111.6 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.2499, allocations: 45.09 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.25, allocations: 43.84 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2501, allocations: 51.75 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.2502, allocations: 12 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.2502, allocations: 8 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.2502, allocations: 27.92 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.2503, allocations: 43.73 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.2505, allocations: 143.7 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2505, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2505, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2505, allocations: 0 / 0.7859 GB, free: 10.94 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.0008891/0.2514, allocations: 455 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2515, allocations: 8.031 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.2515, allocations: 50.73 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.2516, allocations: 8.844 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2517, allocations: 186.5 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2517, allocations: 4.375 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2518, allocations: 16.36 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.252, allocations: 86.16 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.252, allocations: 3.938 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.252, allocations: 7.938 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.252, allocations: 4 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2522, allocations: 71.95 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.253, allocations: 404.4 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.2532, allocations: 54.56 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.2532, allocations: 36.91 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2533, allocations: 0 / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2533, allocations: 46.55 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2533, allocations: 4 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003599/0.2537, allocations: 101.6 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2537, allocations: 55.34 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2539, allocations: 157.3 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2539, allocations: 25.7 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.254, allocations: 108 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.254, allocations: 7.906 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.2541, allocations: 29.7 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2542, allocations: 318.8 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.2543, allocations: 31.92 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.2543, allocations: 35.91 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2545, allocations: 52.81 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2545, allocations: 0 / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002088/0.2547, allocations: 97.48 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2547, allocations: 4 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2547, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2548, allocations: 7.984 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.2549, allocations: 7.938 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2549, allocations: 3.938 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.2551, allocations: 36.05 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2551, allocations: 3.984 kB / 0.7883 GB, free: 8.227 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 0.0001022/0.2552, allocations: 120.8 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.2552, allocations: 7.906 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.2553, allocations: 12.31 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.2553, allocations: 4 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2553, allocations: 3.938 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2553, allocations: 3.984 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.2555, allocations: 197.9 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2555, allocations: 0 / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.2556, allocations: 19.98 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2556, allocations: 0 / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2556, allocations: 0 / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2556, allocations: 0 / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2556, allocations: 3.938 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.2559, allocations: 191.3 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.2559, allocations: 92.92 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.256, allocations: 3.984 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.2562, allocations: 19.97 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.2562, allocations: 19.92 kB / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2562, allocations: 0 / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.451e-05/0.2563, allocations: 121.7 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2563, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002272/0.2566, allocations: 12 kB / 0.7891 GB, free: 7.312 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.0005257/0.2571, allocations: 0.7289 MB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.2573, allocations: 63.95 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.2574, allocations: 0 / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.2575, allocations: 35.92 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2578, allocations: 15.88 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2597, allocations: 1.601 MB / 0.7915 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.2599, allocations: 0.6987 MB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.508e-05/0.26, allocations: 7.984 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.2601, allocations: 35.42 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of SimCode: time 1.623e-06/0.2601, allocations: 0 / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2798, allocations: 2.719 MB / 0.7949 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.181, allocations: 15.22 kB / 0.7949 GB, free: 1.391 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)