Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.219/1.219, allocations: 251.5 MB / 266.7 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.0008972/0.0008972, allocations: 183.5 kB / 325.9 MB, free: 2.66 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.234/1.234, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006454/0.0006454, allocations: 89.78 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002507, allocations: 8.781 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001114/0.1326, allocations: 1.165 MB / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.1331, allocations: 448.4 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.1331, allocations: 0 / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.1331, allocations: 0 / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.1332, allocations: 11.92 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.1333, allocations: 0 / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.123e-05/0.1333, allocations: 23.92 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.1334, allocations: 4 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.1335, allocations: 23.92 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.1335, allocations: 3.984 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1335, allocations: 4 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.1336, allocations: 0 / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1336, allocations: 3.938 kB / 0.8978 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1336, allocations: 11.94 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.609e-05/0.1336, allocations: 19.95 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1337, allocations: 0 / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1337, allocations: 0 / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.1337, allocations: 3.938 kB / 0.8979 GB, free: 66.31 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002434/0.1339, allocations: 331.6 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.134, allocations: 8.031 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.964e-05/0.134, allocations: 38.69 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.723e-05/0.134, allocations: 4.844 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.332e-05/0.1341, allocations: 164.3 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.1341, allocations: 4.375 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.1341, allocations: 4.375 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.3e-05/0.1342, allocations: 49.8 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1342, allocations: 3.938 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.1342, allocations: 0 / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1342, allocations: 4 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.1343, allocations: 19.98 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.1345, allocations: 256.9 kB / 0.8987 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.582e-05/0.1345, allocations: 30.56 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.1346, allocations: 20.92 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1346, allocations: 0 / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.1346, allocations: 30.56 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1346, allocations: 0 / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.1348, allocations: 81.52 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.1348, allocations: 51.41 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.1349, allocations: 105.8 kB / 0.899 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.1349, allocations: 25.7 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.1349, allocations: 80.14 kB / 0.8991 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.1349, allocations: 12.03 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.135, allocations: 13.72 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.997e-05/0.135, allocations: 318.8 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.135, allocations: 12 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.1351, allocations: 7.984 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.1351, allocations: 32.91 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1351, allocations: 0 / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.431e-05/0.1352, allocations: 57.62 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.475e-06/0.1352, allocations: 4 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1352, allocations: 4 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.1353, allocations: 256 / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.1353, allocations: 7.984 kB / 0.8996 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1353, allocations: 11.97 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.1354, allocations: 4 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.1354, allocations: 0 / 0.8996 GB, free: 64.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.576e-05/0.1354, allocations: 113.8 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1354, allocations: 4 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.1355, allocations: 3.531 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1355, allocations: 0 / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1355, allocations: 0 / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1355, allocations: 3.984 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.685e-05/0.1356, allocations: 169.5 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1356, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.1356, allocations: 4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1356, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1356, allocations: 3.984 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1356, allocations: 3.984 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1356, allocations: 7.938 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.858e-05/0.1357, allocations: 159.5 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.1358, allocations: 81.09 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.1358, allocations: 0 / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.1358, allocations: 7.984 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.1359, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1359, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.823e-05/0.1359, allocations: 83.28 kB / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1359, allocations: 8.031 kB / 0.9002 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000174/0.1361, allocations: 0 / 0.9002 GB, free: 63.58 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002103/0.1363, allocations: 0.6967 MB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.536e-05/0.1364, allocations: 28.02 kB / 0.9009 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1364, allocations: 0 / 0.9009 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.1364, allocations: 15.98 kB / 0.9009 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1366, allocations: 4 kB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.1369, allocations: 158 kB / 0.9011 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.896e-05/0.137, allocations: 0.677 MB / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.137, allocations: 0 / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.137, allocations: 19.42 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.137, allocations: 0 / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07552/0.2126, allocations: 0.9904 MB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/0.2127, allocations: 236.8 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.706, allocations: 0 / 0.903 GB, free: 60.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)