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.001383/0.001383, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.00184/0.001841, allocations: 177.3 kB / 15.95 MB, free: 216 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.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.535/1.535, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0004791/0.0004793, allocations: 13.56 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04501/0.2636, allocations: 52.46 MB / 0.8385 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.2785, allocations: 11.09 MB / 0.8493 GB, free: 12.18 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.2808, allocations: 51.62 kB / 0.8493 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.2837, allocations: 0.8824 MB / 0.8502 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.2902, allocations: 2.056 MB / 0.8522 GB, free: 9.184 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.295, allocations: 1.638 MB / 0.8538 GB, free: 7.578 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004284/0.2993, allocations: 2.155 MB / 0.8559 GB, free: 5.422 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.3011, allocations: 0.9515 MB / 0.8568 GB, free: 4.445 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.3033, allocations: 1.016 MB / 0.8578 GB, free: 3.426 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.3046, allocations: 0.7234 MB / 0.8585 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.305, allocations: 63.94 kB / 0.8586 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.3078, allocations: 1.084 MB / 0.8597 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.3083, allocations: 326.7 kB / 0.86 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006588/0.309, allocations: 336.8 kB / 0.8603 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.312, allocations: 1.995 MB / 0.8622 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3121, allocations: 0 / 0.8622 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3121, allocations: 0 / 0.8622 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.202e-05/0.3121, allocations: 0 / 0.8622 GB, free: 14.89 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.003614/0.3158, allocations: 1.848 MB / 0.864 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3158, allocations: 8.031 kB / 0.864 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.316, allocations: 139.3 kB / 0.8642 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.3184, allocations: 0.5443 MB / 0.8647 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.3208, allocations: 1.345 MB / 0.866 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007266/0.3216, allocations: 273.3 kB / 0.8663 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.3217, allocations: 92 kB / 0.8664 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.3241, allocations: 1.193 MB / 0.8675 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3241, allocations: 0 / 0.8675 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.3242, allocations: 32 kB / 0.8676 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.3242, allocations: 20 kB / 0.8676 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.327, allocations: 1.237 MB / 0.8688 GB, free: 8.008 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.006221/0.3333, allocations: 4.344 MB / 0.873 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007468/0.3408, allocations: 1.858 MB / 0.8749 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008463/0.3416, allocations: 1.152 MB / 0.876 GB, free: 116 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.3428, allocations: 0.4987 MB / 0.8765 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.935e-06/0.3429, allocations: 0 / 0.8765 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.003074/0.3459, allocations: 1.274 MB / 0.8777 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.346, allocations: 81.67 kB / 0.8778 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.3482, allocations: 1.529 MB / 0.8793 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3483, allocations: 45.7 kB / 0.8793 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.3488, allocations: 0.6551 MB / 0.88 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.349, allocations: 213 kB / 0.8802 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.3491, allocations: 16 kB / 0.8802 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3492, allocations: 333.9 kB / 0.8805 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3504, allocations: 457.6 kB / 0.8809 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.3516, allocations: 0.6111 MB / 0.8815 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3528, allocations: 494.9 kB / 0.882 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3528, allocations: 0 / 0.882 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002984/0.3558, allocations: 1.221 MB / 0.8832 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.3561, allocations: 0.9094 MB / 0.8841 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3561, allocations: 4 kB / 0.8841 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3562, allocations: 4 kB / 0.8841 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/0.3572, allocations: 239.7 kB / 0.8843 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3572, allocations: 7.984 kB / 0.8843 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.3587, allocations: 250.9 kB / 0.8846 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.3588, allocations: 31.98 kB / 0.8846 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3588, allocations: 4 kB / 0.8846 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002576/0.3614, allocations: 1.061 MB / 0.8856 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3614, allocations: 0 / 0.8856 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3615, allocations: 12.25 kB / 0.8857 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.3624, allocations: 223.7 kB / 0.8859 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3625, allocations: 11.92 kB / 0.8859 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.3638, allocations: 214.5 kB / 0.8861 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/0.3639, allocations: 35.98 kB / 0.8861 GB, free: 5.52 MB / 0.7012 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.0006726/0.3646, allocations: 432.9 kB / 0.8865 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.3648, allocations: 154 kB / 0.8867 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.3672, allocations: 1.183 MB / 0.8878 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3672, allocations: 4 kB / 0.8878 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3673, allocations: 0 / 0.8878 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.3673, allocations: 3.984 kB / 0.8878 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/0.3712, allocations: 2.501 MB / 0.8903 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.3713, allocations: 0 / 0.8903 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.3719, allocations: 144.1 kB / 0.8904 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.3719, allocations: 7.953 kB / 0.8904 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.372, allocations: 27.98 kB / 0.8905 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.372, allocations: 7.984 kB / 0.8905 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.372, allocations: 7.938 kB / 0.8905 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.3742, allocations: 1.337 MB / 0.8918 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/0.3749, allocations: 366.8 kB / 0.8921 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.375, allocations: 19.98 kB / 0.8921 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.3761, allocations: 127.7 kB / 0.8923 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3762, allocations: 56.08 kB / 0.8923 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.3763, allocations: 35.97 kB / 0.8924 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001668/0.378, allocations: 1.083 MB / 0.8934 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/0.378, allocations: 0 / 0.8934 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002037/0.38, allocations: 0.6941 MB / 0.8941 GB, free: 13.12 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.00414/0.3842, allocations: 3.195 MB / 0.8972 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003636/0.3878, allocations: 1.566 MB / 0.8987 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3878, allocations: 0 / 0.8987 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009842/0.3888, allocations: 478.9 kB / 0.8992 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.3918, allocations: 0.6046 MB / 0.8998 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.3977, allocations: 5.364 MB / 0.905 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.3985, allocations: 1.266 MB / 0.9063 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001653/0.4002, allocations: 398.5 kB / 0.9066 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/0.4009, allocations: 0.5657 MB / 0.9072 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/0.4009, allocations: 0 / 0.9072 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.988/2.389, allocations: 38.68 MB / 0.945 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/2.389, allocations: 236.3 kB / 0.9452 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.694/6.082, allocations: 1.594 kB / 0.9452 GB, free: 124.6 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: