Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",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.001/0.001, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001196/0.001196, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000576/0.0005762, allocations: 20.36 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2892, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06048/0.3498, allocations: 57.78 MB / 0.8438 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.3689, allocations: 12.01 MB / 0.8556 GB, free: 5.855 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.3719, allocations: 55.62 kB / 0.8556 GB, free: 5.801 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.3745, allocations: 0.695 MB / 0.8563 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006264/0.3807, allocations: 1.543 MB / 0.8578 GB, free: 3.551 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.3844, allocations: 1.04 MB / 0.8588 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005827/0.3903, allocations: 3.702 MB / 0.8624 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.392, allocations: 0.9317 MB / 0.8633 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.3946, allocations: 1.104 MB / 0.8644 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.396, allocations: 0.9529 MB / 0.8653 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.3961, allocations: 64 kB / 0.8654 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.399, allocations: 1.197 MB / 0.8666 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.3995, allocations: 358.6 kB / 0.8669 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.4, allocations: 336.8 kB / 0.8672 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.403, allocations: 2.128 MB / 0.8693 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.403, allocations: 4 kB / 0.8693 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4031, allocations: 0 / 0.8693 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.4031, allocations: 0 / 0.8693 GB, free: 7.707 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004064/0.4072, allocations: 1.875 MB / 0.8711 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.4072, allocations: 11.97 kB / 0.8712 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.4074, allocations: 143.3 kB / 0.8713 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.4097, allocations: 0.5482 MB / 0.8718 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.4127, allocations: 1.322 MB / 0.8731 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006786/0.4134, allocations: 281.2 kB / 0.8734 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.4135, allocations: 88 kB / 0.8735 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.4161, allocations: 1.244 MB / 0.8747 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4161, allocations: 0 / 0.8747 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.4162, allocations: 39.98 kB / 0.8747 GB, free: 2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.4162, allocations: 23.94 kB / 0.8748 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.4193, allocations: 1.331 MB / 0.876 GB, free: 0.6445 MB / 0.6856 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.00746/0.4267, allocations: 4.551 MB / 0.8805 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006914/0.4337, allocations: 1.964 MB / 0.8824 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/0.4346, allocations: 474.2 kB / 0.8829 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.4357, allocations: 1.156 MB / 0.884 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.4369, allocations: 0.5379 MB / 0.8845 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.437e-06/0.4369, allocations: 0 / 0.8845 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.003424/0.4403, allocations: 1.411 MB / 0.8859 GB, free: 6 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.4404, allocations: 85.61 kB / 0.886 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.4431, allocations: 1.623 MB / 0.8876 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.4432, allocations: 41.7 kB / 0.8876 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006064/0.4439, allocations: 0.6395 MB / 0.8882 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.4441, allocations: 213 kB / 0.8884 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.4442, allocations: 12 kB / 0.8884 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4443, allocations: 330 kB / 0.8888 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4455, allocations: 0.5016 MB / 0.8892 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.4469, allocations: 0.6697 MB / 0.8899 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.4482, allocations: 0.5341 MB / 0.8904 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4482, allocations: 0 / 0.8904 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003344/0.4515, allocations: 1.339 MB / 0.8917 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.4517, allocations: 158.2 kB / 0.8919 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4517, allocations: 0 / 0.8919 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-05/0.4518, allocations: 8 kB / 0.8919 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4528, allocations: 235.7 kB / 0.8921 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.4529, allocations: 7.938 kB / 0.8921 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4547, allocations: 250.9 kB / 0.8924 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.4548, allocations: 35.98 kB / 0.8924 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4548, allocations: 4 kB / 0.8924 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002744/0.4576, allocations: 1.159 MB / 0.8935 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4576, allocations: 0 / 0.8935 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4576, allocations: 8 kB / 0.8935 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.4586, allocations: 247.8 kB / 0.8938 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.4586, allocations: 4 kB / 0.8938 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4602, allocations: 203.1 kB / 0.894 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.961e-05/0.4603, allocations: 39.97 kB / 0.894 GB, free: 13.54 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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 0.0009335/0.4613, allocations: 427.7 kB / 0.8944 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.4617, allocations: 158 kB / 0.8946 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.4647, allocations: 1.277 MB / 0.8958 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.4647, allocations: 15.95 kB / 0.8958 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4647, allocations: 0 / 0.8958 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4647, allocations: 3.984 kB / 0.8958 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.4702, allocations: 2.735 MB / 0.8985 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.4702, allocations: 4 kB / 0.8985 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.4709, allocations: 144.1 kB / 0.8986 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.4709, allocations: 4 kB / 0.8986 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.471, allocations: 19.98 kB / 0.8987 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.471, allocations: 15.88 kB / 0.8987 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.471, allocations: 3.984 kB / 0.8987 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.4738, allocations: 1.276 MB / 0.8999 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4748, allocations: 402.7 kB / 0.9003 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/0.4753, allocations: 16 kB / 0.9003 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.4766, allocations: 131.8 kB / 0.9005 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.4768, allocations: 56.27 kB / 0.9005 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.4769, allocations: 35.97 kB / 0.9005 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00315/0.4801, allocations: 1.142 MB / 0.9017 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4801, allocations: 0 / 0.9017 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002903/0.483, allocations: 0.7098 MB / 0.9024 GB, free: 4.816 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.004781/0.4878, allocations: 2.458 MB / 0.9048 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004163/0.492, allocations: 1.726 MB / 0.9064 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.492, allocations: 0 / 0.9064 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4931, allocations: 0.5067 MB / 0.9069 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.4965, allocations: 0.6293 MB / 0.9076 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/0.5188, allocations: 9.596 MB / 0.9169 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.5201, allocations: 1.231 MB / 0.9181 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002203/0.5223, allocations: 408.7 kB / 0.9185 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.5234, allocations: 0.5618 MB / 0.9191 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of SimCode: time 1.623e-06/0.5234, allocations: 0 / 0.9191 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6468/1.17, allocations: 40.26 MB / 0.9584 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/1.17, allocations: 246.5 kB / 0.9586 GB, free: 119 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/4.232, allocations: 0 / 0.9586 GB, free: 119 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) Environment - environmentSimulation: