Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.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.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",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.36/1.36, allocations: 252 MB / 267.3 MB, free: 10.83 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.0009042/0.0009042, allocations: 184.4 kB / 327 MB, free: 2.09 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.54/1.54, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0007305/0.0007305, allocations: 98.28 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 8.531 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1834, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1503/0.3337, allocations: 158.1 MB / 1.055 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4038/0.7375, allocations: 2.914 MB / 1.058 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.738, allocations: 16.72 kB / 1.058 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.7386, allocations: 178.6 kB / 1.058 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.7404, allocations: 0.7354 MB / 1.059 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.7411, allocations: 326.5 kB / 1.059 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.7423, allocations: 1.284 MB / 1.061 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.7426, allocations: 218.9 kB / 1.061 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.743, allocations: 305.7 kB / 1.061 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000783/0.7438, allocations: 290.9 kB / 1.061 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.7439, allocations: 14.44 kB / 1.061 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.745, allocations: 0.7413 MB / 1.062 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.7452, allocations: 115.2 kB / 1.062 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.7456, allocations: 217.1 kB / 1.062 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.7466, allocations: 0.7867 MB / 1.063 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7467, allocations: 0 / 1.063 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7467, allocations: 0.5156 kB / 1.063 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7467, allocations: 0 / 1.063 GB, free: 17.88 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009442/0.7476, allocations: 0.6453 MB / 1.064 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7477, allocations: 13.19 kB / 1.064 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.7477, allocations: 61.62 kB / 1.064 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.7487, allocations: 143.5 kB / 1.064 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.7492, allocations: 403.6 kB / 1.064 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7492, allocations: 22 kB / 1.065 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.7493, allocations: 24.16 kB / 1.065 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.7497, allocations: 288.2 kB / 1.065 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7497, allocations: 0 / 1.065 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.7498, allocations: 13.41 kB / 1.065 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.7498, allocations: 13.38 kB / 1.065 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.7501, allocations: 195.8 kB / 1.065 GB, free: 17 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.7518, allocations: 1.335 MB / 1.066 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.7522, allocations: 195.9 kB / 1.067 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.7523, allocations: 91.39 kB / 1.067 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.7523, allocations: 6.938 kB / 1.067 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.7524, allocations: 32.08 kB / 1.067 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.7524, allocations: 0 / 1.067 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0008516/0.7532, allocations: 400.6 kB / 1.067 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.7533, allocations: 55.39 kB / 1.067 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.7536, allocations: 299.6 kB / 1.067 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.7536, allocations: 29.27 kB / 1.067 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.7537, allocations: 196.1 kB / 1.068 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.7538, allocations: 65.7 kB / 1.068 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.7538, allocations: 6.938 kB / 1.068 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7539, allocations: 347 kB / 1.068 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.754, allocations: 61.97 kB / 1.068 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.7542, allocations: 116.7 kB / 1.068 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.7544, allocations: 190.9 kB / 1.068 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7544, allocations: 0.9688 kB / 1.068 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000369/0.7548, allocations: 240.7 kB / 1.069 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7548, allocations: 10.36 kB / 1.069 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7549, allocations: 2.125 kB / 1.069 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7549, allocations: 2.812 kB / 1.069 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.7551, allocations: 42.78 kB / 1.069 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.7551, allocations: 4.031 kB / 1.069 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.7554, allocations: 21.28 kB / 1.069 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.7555, allocations: 13.62 kB / 1.069 GB, free: 15.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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 0.0001636/0.7556, allocations: 178.8 kB / 1.069 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.7557, allocations: 31.72 kB / 1.069 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.7558, allocations: 38.5 kB / 1.069 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7558, allocations: 2.719 kB / 1.069 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7558, allocations: 3.547 kB / 1.069 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7558, allocations: 2.125 kB / 1.069 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.7564, allocations: 410.3 kB / 1.069 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7564, allocations: 0 / 1.069 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.7566, allocations: 37.47 kB / 1.069 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/0.7568, allocations: 46.91 kB / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.7568, allocations: 6.266 kB / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.758, allocations: 1.408 MB / 1.071 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.758, allocations: 3.938 kB / 1.071 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.7586, allocations: 404.4 kB / 1.071 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.7588, allocations: 134.9 kB / 1.071 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.7588, allocations: 2.578 kB / 1.071 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.7591, allocations: 17.34 kB / 1.071 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.7591, allocations: 16.28 kB / 1.071 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.7592, allocations: 6.391 kB / 1.071 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002433/0.7594, allocations: 220.3 kB / 1.072 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7594, allocations: 0 / 1.072 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004301/0.7599, allocations: 113.7 kB / 1.072 GB, free: 13.08 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000969/0.7608, allocations: 0.9566 MB / 1.073 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.7612, allocations: 159.5 kB / 1.073 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7612, allocations: 0.6875 kB / 1.073 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.7615, allocations: 202.7 kB / 1.073 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.7626, allocations: 191.6 kB / 1.073 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.7665, allocations: 3.082 MB / 1.076 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.767, allocations: 0.8082 MB / 1.077 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003552/0.7673, allocations: 59.52 kB / 1.077 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.7675, allocations: 105.3 kB / 1.077 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.7675, allocations: 0.8125 kB / 1.077 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.7879, allocations: 8.579 MB / 1.085 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.7881, allocations: 230.8 kB / 1.086 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/3.022, allocations: 1.859 kB / 1.086 GB, free: 8.887 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)