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.SystemOnOff.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.SystemOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.442/1.442, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001166/0.001166, allocations: 175.3 kB / 326.5 MB, free: 2.23 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.5/1.5, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0007764/0.0007764, allocations: 94.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 10.62 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001283/0.1519, allocations: 1.285 MB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002984/0.1522, allocations: 188.4 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.1522, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.1523, allocations: 11.94 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.1524, allocations: 11.97 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.1525, allocations: 27.89 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.1526, allocations: 59.92 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.1527, allocations: 48.95 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.1527, allocations: 31.91 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.1528, allocations: 47.77 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1528, allocations: 0 / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.1529, allocations: 4 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1529, allocations: 15.92 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.1529, allocations: 37.64 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.869e-05/0.153, allocations: 91.78 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.153, allocations: 0 / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.153, allocations: 0 / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.153, allocations: 0 / 0.902 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006806/0.1537, allocations: 459.2 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1537, allocations: 12.02 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.1538, allocations: 38.56 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.1538, allocations: 11.81 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.1539, allocations: 186.9 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1539, allocations: 4 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.1539, allocations: 11.94 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1541, allocations: 89.66 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1541, allocations: 0 / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1541, allocations: 4 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1542, allocations: 4 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1543, allocations: 71.95 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.1549, allocations: 416.4 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1551, allocations: 66.56 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1551, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.1551, allocations: 42.48 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1551, allocations: 0 / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003028/0.1554, allocations: 125.6 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.1555, allocations: 51.41 kB / 0.9035 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.1555, allocations: 156.5 kB / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1556, allocations: 29.7 kB / 0.9037 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.1556, allocations: 108.1 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.1556, allocations: 11.84 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.1556, allocations: 4 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.1557, allocations: 326.8 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.1558, allocations: 27.98 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.1558, allocations: 31.98 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.1559, allocations: 27.98 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1559, allocations: 3.938 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001851/0.1561, allocations: 113.5 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1561, allocations: 4 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1561, allocations: 0 / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.1562, allocations: 0 / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.1562, allocations: 15.98 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1563, allocations: 0 / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.1564, allocations: 35.88 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1564, allocations: 0 / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.663e-05/0.1565, allocations: 123.2 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1565, allocations: 15.86 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.1566, allocations: 16.48 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1566, allocations: 3.984 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1566, allocations: 4 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1566, allocations: 4 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1567, allocations: 201.5 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1567, allocations: 0 / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.1568, allocations: 15.98 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1568, allocations: 3.953 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1568, allocations: 0 / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1568, allocations: 4 kB / 0.9047 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1568, allocations: 0 / 0.9047 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.157, allocations: 191.4 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.1571, allocations: 85.02 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1571, allocations: 3.953 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.1573, allocations: 31.97 kB / 0.905 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1573, allocations: 19.91 kB / 0.905 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1574, allocations: 7.938 kB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.1574, allocations: 118.7 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1574, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002173/0.1576, allocations: 19.91 kB / 0.9052 GB, free: 58.37 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000309/0.158, allocations: 0.7202 MB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1581, allocations: 71.91 kB / 0.9059 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1582, allocations: 4 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.1583, allocations: 43.91 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.1585, allocations: 15.89 kB / 0.906 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.1593, allocations: 0.6964 MB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.1594, allocations: 0.6965 MB / 0.9074 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.337e-05/0.1595, allocations: 11.98 kB / 0.9074 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.1595, allocations: 27.48 kB / 0.9074 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1596, allocations: 0 / 0.9074 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.1697, allocations: 2.253 MB / 0.9096 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001243/0.1699, allocations: 202.6 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.39/1.56, allocations: 4 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)