Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 251.9 MB / 266.8 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 189.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.442/2.442, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 77.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004615, allocations: 11 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.31, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.4952, allocations: 132.6 MB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4955, allocations: 91.92 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00338/0.4989, allocations: 1.291 MB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/0.499, allocations: 0 / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.499, allocations: 0 / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005931/0.4996, allocations: 415 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4996, allocations: 11.97 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.4997, allocations: 34.56 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.4997, allocations: 7.906 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.4999, allocations: 170.9 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4999, allocations: 15.98 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5, allocations: 8 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.5002, allocations: 89.59 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5002, allocations: 0 / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5002, allocations: 4 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5003, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.5005, allocations: 79.94 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.5011, allocations: 352.6 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.5013, allocations: 70.53 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.5013, allocations: 3.938 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.5016, allocations: 87.45 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.5016, allocations: 0 / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0004395/0.5021, allocations: 133.8 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.5021, allocations: 51.41 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.5022, allocations: 124.8 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.5023, allocations: 25.7 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.5023, allocations: 104 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.5024, allocations: 15.81 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5024, allocations: 4 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5025, allocations: 318.8 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.5026, allocations: 31.98 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5028, allocations: 58.55 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.859e-05/0.5029, allocations: 32.59 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5029, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002589/0.5031, allocations: 113.8 kB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5032, allocations: 11.98 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5032, allocations: 8 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5032, allocations: 3.953 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.5033, allocations: 11.94 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5033, allocations: 4 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.5035, allocations: 31.88 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.5035, allocations: 0 / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001012/0.5036, allocations: 121.8 kB / 1.033 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.5036, allocations: 0 / 1.033 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.5036, allocations: 16.36 kB / 1.033 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5036, allocations: 3.953 kB / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5036, allocations: 0 / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.5037, allocations: 4 kB / 1.033 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.5038, allocations: 185.6 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5038, allocations: 0 / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.5039, allocations: 8 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5039, allocations: 0 / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5039, allocations: 3.984 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.504, allocations: 4 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.504, allocations: 3.953 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.5042, allocations: 132.9 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.5043, allocations: 81.02 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.5043, allocations: 7.984 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.5044, allocations: 23.98 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.5045, allocations: 11.97 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.5045, allocations: 7.953 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.5046, allocations: 99.64 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5046, allocations: 0 / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001816/0.5048, allocations: 12 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005774/0.5054, allocations: 0.6635 MB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.5056, allocations: 84.08 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5057, allocations: 0 / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.5058, allocations: 39.92 kB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.506, allocations: 23.92 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.5071, allocations: 0.7415 MB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.5074, allocations: 0.7004 MB / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.5074, allocations: 192 / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.5075, allocations: 23.42 kB / 1.036 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.5075, allocations: 0 / 1.036 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.5206, allocations: 1.829 MB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.5208, allocations: 217.6 kB / 1.038 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.316, allocations: 0 / 1.038 GB, free: 1.926 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)