Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008069/0.0008069, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00458/0.00458, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8646/0.8646, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002718, allocations: 12 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 83.41 MB / 0.598 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.2643/0.3933, allocations: 73.42 MB / 0.6697 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.4104, allocations: 15.06 MB / 0.6844 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.4117, allocations: 61.06 kB / 0.6844 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.4133, allocations: 0.6783 MB / 0.6851 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.4183, allocations: 2.388 MB / 0.6874 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.4209, allocations: 1.271 MB / 0.6887 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005438/0.4264, allocations: 5.555 MB / 0.6941 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.4278, allocations: 1.158 MB / 0.6952 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.4298, allocations: 1.323 MB / 0.6965 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.4311, allocations: 1.152 MB / 0.6976 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.4313, allocations: 55.38 kB / 0.6977 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.4336, allocations: 1.246 MB / 0.6989 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.4339, allocations: 281.8 kB / 0.6992 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007253/0.4346, allocations: 0.8025 MB / 0.6999 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.4376, allocations: 2.858 MB / 0.7027 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4376, allocations: 0 / 0.7027 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4376, allocations: 0 / 0.7027 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.4376, allocations: 1.281 kB / 0.7027 GB, free: 8.609 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002981/0.4406, allocations: 1.788 MB / 0.7045 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4407, allocations: 9.375 kB / 0.7045 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.4408, allocations: 148.4 kB / 0.7046 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007075/0.4416, allocations: 245 kB / 0.7049 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.4438, allocations: 1.505 MB / 0.7063 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.4438, allocations: 76.44 kB / 0.7064 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.444, allocations: 101.4 kB / 0.7065 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.4459, allocations: 1.119 MB / 0.7076 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.446, allocations: 3.938 kB / 0.7076 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.4461, allocations: 41.62 kB / 0.7076 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.4461, allocations: 25.31 kB / 0.7077 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.4479, allocations: 0.9348 MB / 0.7086 GB, free: 5.41 MB / 0.5294 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.005272/0.4532, allocations: 4.925 MB / 0.7134 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4545, allocations: 0.6357 MB / 0.714 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/0.4552, allocations: 367.7 kB / 0.7144 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.4558, allocations: 0.8323 MB / 0.7152 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.4559, allocations: 45.78 kB / 0.7152 GB, free: 15.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 1.783e-06/0.4559, allocations: 1.281 kB / 0.7152 GB, free: 15.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.007051/0.4629, allocations: 1.899 MB / 0.7171 GB, free: 14.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.463, allocations: 58.28 kB / 0.7171 GB, free: 14.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.4645, allocations: 1.21 MB / 0.7183 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.4645, allocations: 39.14 kB / 0.7184 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.465, allocations: 0.6049 MB / 0.7189 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.4652, allocations: 215.6 kB / 0.7191 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.4653, allocations: 63.94 kB / 0.7192 GB, free: 13.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4654, allocations: 330.8 kB / 0.7195 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.466, allocations: 302.7 kB / 0.7198 GB, free: 12.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.4668, allocations: 0.5114 MB / 0.7203 GB, free: 12.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.4681, allocations: 0.757 MB / 0.7211 GB, free: 12.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4681, allocations: 0 / 0.7211 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004577/0.4727, allocations: 1.404 MB / 0.7224 GB, free: 11.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.4728, allocations: 200.4 kB / 0.7226 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4728, allocations: 8.125 kB / 0.7226 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.4734, allocations: 146.4 kB / 0.7228 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.4739, allocations: 160.2 kB / 0.7229 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007797/0.4747, allocations: 0.7194 MB / 0.7236 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009891/0.4757, allocations: 171.7 kB / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.4758, allocations: 31.98 kB / 0.7238 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.4758, allocations: 4 kB / 0.7238 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004296/0.4801, allocations: 1.257 MB / 0.725 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4801, allocations: 8.031 kB / 0.7251 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.4806, allocations: 144.7 kB / 0.7252 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.4811, allocations: 159.8 kB / 0.7253 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000739/0.4819, allocations: 0.7264 MB / 0.7261 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/0.4827, allocations: 155.2 kB / 0.7262 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.4828, allocations: 31.98 kB / 0.7262 GB, free: 7.793 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000456/0.4833, allocations: 424.8 kB / 0.7266 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.4835, allocations: 138.2 kB / 0.7268 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/0.4881, allocations: 1.4 MB / 0.7281 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4881, allocations: 4 kB / 0.7281 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4881, allocations: 0 / 0.7281 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004137/0.4923, allocations: 1.24 MB / 0.7293 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.4983, allocations: 2.745 MB / 0.732 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4983, allocations: 4.438 kB / 0.732 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.4987, allocations: 123.9 kB / 0.7322 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.4992, allocations: 144.6 kB / 0.7323 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.4992, allocations: 16 kB / 0.7323 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.5037, allocations: 2.49 MB / 0.7347 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5037, allocations: 4 kB / 0.7347 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00507/0.5088, allocations: 1.852 MB / 0.7365 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.5092, allocations: 335.2 kB / 0.7369 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5093, allocations: 23.88 kB / 0.7369 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/0.5102, allocations: 95.88 kB / 0.737 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5103, allocations: 60.25 kB / 0.737 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.5103, allocations: 35.97 kB / 0.7371 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001014/0.5114, allocations: 0.8662 MB / 0.7379 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5114, allocations: 0 / 0.7379 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001591/0.513, allocations: 0.7135 MB / 0.7386 GB, free: 10.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005952/0.5189, allocations: 2.749 MB / 0.7413 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.5212, allocations: 1.169 MB / 0.7424 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5212, allocations: 0 / 0.7424 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.5226, allocations: 0.6034 MB / 0.743 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.5264, allocations: 0.79 MB / 0.7438 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.5501, allocations: 11.21 MB / 0.7547 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.5508, allocations: 1.183 MB / 0.7559 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009926/0.5518, allocations: 302.2 kB / 0.7562 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/0.5524, allocations: 0.5188 MB / 0.7567 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.5524, allocations: 0 / 0.7567 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.313/1.865, allocations: 42.8 MB / 0.7985 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/1.866, allocations: 283.3 kB / 0.7988 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/4.493, allocations: 0 / 0.7988 GB, free: 12.98 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)