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.683/1.683, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001783/0.001783, allocations: 185.2 kB / 326.5 MB, free: 2.223 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.036/2.036, allocations: 205.4 MB / 0.5775 GB, free: 20.46 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.001055/0.001056, allocations: 95.97 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 7.969 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001568/0.214, allocations: 1.218 MB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.2144, allocations: 237 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.2145, allocations: 0 / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.2145, allocations: 7.922 kB / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.2146, allocations: 7.984 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.2148, allocations: 19.98 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.2148, allocations: 47.88 kB / 0.9017 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.215, allocations: 35.83 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.215, allocations: 23.92 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.2151, allocations: 27.84 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2151, allocations: 0 / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.2152, allocations: 4 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.2152, allocations: 15.92 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.2152, allocations: 33.7 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.298e-05/0.2153, allocations: 67.83 kB / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2153, allocations: 0 / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2153, allocations: 0 / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2153, allocations: 0 / 0.9019 GB, free: 62.44 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.0004872/0.2158, allocations: 407.4 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2159, allocations: 12.03 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.2159, allocations: 38.55 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.216, allocations: 15.83 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.349e-05/0.2161, allocations: 174.9 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.2161, allocations: 4 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2161, allocations: 8 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2163, allocations: 97.58 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2163, allocations: 0 / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2163, allocations: 0 / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2163, allocations: 7.938 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.2165, allocations: 67.95 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.217, allocations: 348.6 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2171, allocations: 66.55 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.2172, allocations: 4 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.2174, allocations: 91.42 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.2174, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003677/0.2178, allocations: 133.5 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.2178, allocations: 51.41 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.2179, allocations: 129.8 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2179, allocations: 25.7 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.2179, allocations: 108 kB / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.218, allocations: 15.75 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.218, allocations: 4 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.218, allocations: 314.8 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.2181, allocations: 35.97 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2182, allocations: 54.55 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.2183, allocations: 31.98 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2183, allocations: 0 / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002184/0.2186, allocations: 117.5 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2186, allocations: 7.953 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2186, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2186, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.2187, allocations: 19.92 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2187, allocations: 7.969 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2188, allocations: 27.97 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.2188, allocations: 4 kB / 0.9042 GB, free: 59.82 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 6.617e-05/0.2189, allocations: 113.8 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.2189, allocations: 7.906 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.219, allocations: 16.33 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.219, allocations: 0 / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.219, allocations: 4 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.219, allocations: 3.984 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2191, allocations: 185.6 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2191, allocations: 0 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.2192, allocations: 11.98 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2192, allocations: 256 / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2192, allocations: 0 / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2192, allocations: 7.953 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2192, allocations: 7.938 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.2195, allocations: 132.9 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.2195, allocations: 85.09 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2195, allocations: 4 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.2196, allocations: 19.97 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.2197, allocations: 19.94 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2197, allocations: 3.984 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.2197, allocations: 91.28 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2197, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001827/0.2199, allocations: 23.84 kB / 0.9049 GB, free: 59 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.0003801/0.2203, allocations: 0.6632 MB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.2205, allocations: 79.94 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2206, allocations: 0 / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2207, allocations: 43.98 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.2208, allocations: 15.94 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.2217, allocations: 0.739 MB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.2218, allocations: 0.6887 MB / 0.9071 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.2219, allocations: 11.92 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.2219, allocations: 23.44 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2219, allocations: 0 / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.2336, allocations: 1.837 MB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.2338, allocations: 211.9 kB / 0.9091 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/1.77, allocations: 64 / 0.9091 GB, free: 54.72 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)