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.29/1.29, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009444/0.0009444, allocations: 183.3 kB / 325.9 MB, free: 2.676 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.278/1.278, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006729/0.0006729, allocations: 103.8 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 8.781 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001209/0.1393, allocations: 1.254 MB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.1396, allocations: 241 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.1397, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.1397, allocations: 3.938 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.1398, allocations: 11.92 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.1399, allocations: 27.97 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.14, allocations: 83.72 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.1401, allocations: 40.06 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.1401, allocations: 23.92 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.1402, allocations: 31.83 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1402, allocations: 4 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.1402, allocations: 3.938 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1403, allocations: 11.98 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.1403, allocations: 31.8 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.329e-05/0.1404, allocations: 79.69 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1404, allocations: 4 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1404, allocations: 0 / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1404, allocations: 4 kB / 0.898 GB, free: 66.19 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.0004332/0.1409, allocations: 387.4 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1409, allocations: 8.031 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.1409, allocations: 46.73 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.141, allocations: 8.844 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.992e-05/0.141, allocations: 176.2 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.141, allocations: 8.375 kB / 0.8986 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1411, allocations: 8.312 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1412, allocations: 90.2 kB / 0.8987 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1413, allocations: 3.938 kB / 0.8987 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1413, allocations: 4 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1413, allocations: 11.98 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1415, allocations: 63.95 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.1418, allocations: 360.4 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.142, allocations: 70.48 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.142, allocations: 40.91 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1421, allocations: 4 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.1422, allocations: 83.38 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1422, allocations: 0 / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003173/0.1426, allocations: 133.6 kB / 0.8995 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1426, allocations: 59.41 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.1427, allocations: 129.7 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1427, allocations: 29.7 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.1427, allocations: 100 kB / 0.8998 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.1427, allocations: 7.812 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.1428, allocations: 21.7 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.1428, allocations: 322.8 kB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.1429, allocations: 31.98 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.143, allocations: 58.55 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1432, allocations: 69.72 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1432, allocations: 3.938 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001956/0.1434, allocations: 105.6 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.1434, allocations: 4.031 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1434, allocations: 4 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.1434, allocations: 0 / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.1435, allocations: 19.92 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1435, allocations: 3.938 kB / 0.9004 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.432e-05/0.1436, allocations: 31.83 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1436, allocations: 8 kB / 0.9004 GB, free: 63.47 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,onSys.pulseStart,$PRE.onSys.pulseStart,onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.1437, allocations: 114.8 kB / 0.9005 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.1437, allocations: 11.92 kB / 0.9005 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.1437, allocations: 8.375 kB / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1437, allocations: 0 / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1437, allocations: 7.938 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1437, allocations: 0 / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.501e-05/0.1438, allocations: 193.6 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1438, allocations: 0 / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.1439, allocations: 15.98 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1439, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1439, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1439, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1439, allocations: 3.938 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1441, allocations: 132.9 kB / 0.9009 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.1441, allocations: 89.31 kB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1442, allocations: 0 / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1443, allocations: 23.98 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.1443, allocations: 23.91 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1443, allocations: 3.938 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.782e-05/0.1443, allocations: 95.27 kB / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 0 / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001611/0.1445, allocations: 16 kB / 0.9011 GB, free: 62.65 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 (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.0003283/0.1449, allocations: 0.667 MB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1451, allocations: 75.95 kB / 0.9018 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1451, allocations: 0 / 0.9018 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.1452, allocations: 39.92 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.1453, allocations: 19.92 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1464, allocations: 1.428 MB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.1464, allocations: 0.6887 MB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.1465, allocations: 19.72 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1465, allocations: 19.44 kB / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1465, allocations: 0 / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3145/0.4611, allocations: 1.873 MB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.4613, allocations: 226.4 kB / 0.9061 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.003, allocations: 0 / 0.9061 GB, free: 57.61 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)