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.467/1.467, allocations: 252 MB / 267 MB, free: 10.97 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.001093/0.001093, allocations: 178.2 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5777 GB, free: 20.18 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.0008013/0.0008013, allocations: 89.66 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003833, allocations: 12.64 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001476/0.2194, allocations: 1.215 MB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004614/0.2199, allocations: 236.2 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.22, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.22, allocations: 11.92 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.2201, allocations: 3.938 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.2203, allocations: 23.97 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.2204, allocations: 75.78 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2205, allocations: 39.8 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.419e-05/0.2206, allocations: 31.8 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.2206, allocations: 27.84 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2207, allocations: 4 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.2207, allocations: 0 / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.2207, allocations: 11.98 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.2207, allocations: 37.64 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.508e-05/0.2208, allocations: 67.83 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2208, allocations: 0 / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2208, allocations: 4 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2209, allocations: 0 / 0.9021 GB, free: 61.97 MB / 0.6042 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.000531/0.2214, allocations: 401.3 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2214, allocations: 12.03 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.2215, allocations: 34.56 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.2215, allocations: 7.906 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2216, allocations: 182.8 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2217, allocations: 4 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2217, allocations: 8 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2219, allocations: 89.66 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2219, allocations: 0 / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2219, allocations: 7.984 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.222, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.2222, allocations: 71.95 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.2226, allocations: 352.5 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2228, allocations: 66.55 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.2229, allocations: 36.95 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2229, allocations: 3.938 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.2231, allocations: 91.33 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.2231, allocations: 0 / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000384/0.2235, allocations: 129.5 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.2236, allocations: 59.41 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/0.2237, allocations: 121.8 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2237, allocations: 29.7 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.2237, allocations: 99.97 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.2238, allocations: 15.75 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.2238, allocations: 0 / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.2238, allocations: 322.8 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2239, allocations: 35.98 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.2241, allocations: 54.55 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.517e-05/0.2242, allocations: 28.02 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2242, allocations: 0 / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002323/0.2244, allocations: 121.5 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2244, allocations: 7.953 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2244, allocations: 0 / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2245, allocations: 8.031 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.2246, allocations: 8 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2246, allocations: 3.984 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2247, allocations: 23.98 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2247, allocations: 0 / 0.9044 GB, free: 59.35 MB / 0.6042 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.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,onSys.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 7.032e-05/0.2248, allocations: 123.1 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2248, allocations: 7.906 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.2248, allocations: 20.3 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2248, allocations: 4 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2249, allocations: 3.938 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2249, allocations: 0 / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.225, allocations: 185.6 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.225, allocations: 256 / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.225, allocations: 20 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2251, allocations: 0 / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2251, allocations: 3.984 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2251, allocations: 3.953 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2251, allocations: 0 / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.2253, allocations: 125 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.2253, allocations: 81.11 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2254, allocations: 7.984 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.2255, allocations: 23.92 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.2255, allocations: 19.92 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.2255, allocations: 3.938 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.2256, allocations: 107.6 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2256, allocations: 0 / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00019/0.2258, allocations: 19.84 kB / 0.9051 GB, free: 58.51 MB / 0.6042 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.onBoi,conEquSta.hys.y,onSys.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.0003979/0.2262, allocations: 0.6632 MB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.2264, allocations: 79.89 kB / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2264, allocations: 0 / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2266, allocations: 35.98 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2268, allocations: 19.94 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.2277, allocations: 0.5842 MB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2278, allocations: 0.6926 MB / 0.9071 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.2278, allocations: 7.922 kB / 0.9071 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.2279, allocations: 23.44 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2279, allocations: 4 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.2391, allocations: 1.86 MB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/0.2393, allocations: 215.8 kB / 0.9092 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.768, allocations: 4 kB / 0.9092 GB, free: 54.37 MB / 0.6042 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)