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.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001039, allocations: 174.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0009263/0.0009263, allocations: 86.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.846e-05, allocations: 3.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.828/1.07, allocations: 132.5 MB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.07, allocations: 93.53 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003485/1.074, allocations: 1.292 MB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.354e-06/1.074, allocations: 0 / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.074, allocations: 0 / 1.023 GB, free: 0.9766 MB / 0.6355 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.000504/1.074, allocations: 396.8 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.074, allocations: 8.031 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/1.074, allocations: 38.19 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/1.074, allocations: 7.906 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/1.074, allocations: 182.9 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/1.074, allocations: 7.5 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.075, allocations: 4 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/1.075, allocations: 68.11 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/1.075, allocations: 0 / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.075, allocations: 11.55 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/1.075, allocations: 0 / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/1.075, allocations: 39.25 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/1.075, allocations: 363.8 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/1.076, allocations: 48.39 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/1.076, allocations: 26.95 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/1.076, allocations: 3.812 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/1.076, allocations: 65.92 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/1.076, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0001983/1.076, allocations: 68.34 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.076, allocations: 51.41 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/1.076, allocations: 123.3 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/1.076, allocations: 33.33 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/1.076, allocations: 98.66 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/1.076, allocations: 11.81 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/1.076, allocations: 3.438 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.076, allocations: 317.7 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/1.076, allocations: 18.94 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/1.077, allocations: 32.2 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/1.077, allocations: 19.95 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.077, allocations: 0 / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001263/1.077, allocations: 76.66 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.077, allocations: 11.95 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.077, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.077, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.077, allocations: 15.67 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.077, allocations: 4.547 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/1.077, allocations: 31.94 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/1.077, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 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 () * 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 7.97e-05/1.077, allocations: 108.9 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/1.077, allocations: 7.938 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/1.077, allocations: 12.14 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.077, allocations: 8 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.077, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.077, allocations: 3.984 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/1.077, allocations: 186.4 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.077, allocations: 0.875 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/1.077, allocations: 11.98 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.077, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/1.078, allocations: 3 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.078, allocations: 3.953 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.078, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/1.078, allocations: 98.17 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.078, allocations: 84.95 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/1.078, allocations: 6.688 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/1.078, allocations: 15.98 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/1.078, allocations: 27.36 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/1.078, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.542e-05/1.078, allocations: 93.5 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.078, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001744/1.078, allocations: 11.75 kB / 1.025 GB, free: 14.05 MB / 0.6511 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) * 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.0004423/1.079, allocations: 0.6346 MB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001385/1.079, allocations: 45.67 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.079, allocations: 3.938 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/1.079, allocations: 27.17 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/1.079, allocations: 7.953 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/1.08, allocations: 142.7 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/1.08, allocations: 0.7005 MB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.589e-05/1.08, allocations: 12.16 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/1.08, allocations: 21.06 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/1.08, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/1.094, allocations: 1.862 MB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.094, allocations: 173.8 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.638, allocations: 0 / 1.029 GB, free: 10.47 MB / 0.6511 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)