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.0009643/0.0009643, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005373/0.005373, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.619/1.619, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005142/0.0005143, allocations: 19.64 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1672, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04718/0.2144, allocations: 61.15 MB / 0.8477 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.2288, allocations: 12.72 MB / 0.8601 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.2303, allocations: 55.62 kB / 0.8602 GB, free: 1.301 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.232, allocations: 0.7926 MB / 0.861 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.2355, allocations: 1.81 MB / 0.8627 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.238, allocations: 1.235 MB / 0.8639 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.2413, allocations: 4.28 MB / 0.8681 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.2424, allocations: 1.039 MB / 0.8691 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.2437, allocations: 1.151 MB / 0.8702 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009229/0.2447, allocations: 1.007 MB / 0.8712 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.2448, allocations: 64 kB / 0.8713 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.2469, allocations: 1.509 MB / 0.8728 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.2471, allocations: 370.4 kB / 0.8731 GB, free: 4 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000584/0.2477, allocations: 0.8097 MB / 0.8739 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.25, allocations: 2.788 MB / 0.8766 GB, free: 392 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.25, allocations: 0 / 0.8766 GB, free: 392 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.162e-06/0.25, allocations: 4 kB / 0.8766 GB, free: 388 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.25, allocations: 0 / 0.8766 GB, free: 388 kB / 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.002663/0.2527, allocations: 1.867 MB / 0.8785 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2527, allocations: 16.02 kB / 0.8785 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.2529, allocations: 135.5 kB / 0.8786 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.2551, allocations: 0.5452 MB / 0.8791 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.257, allocations: 1.376 MB / 0.8805 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006807/0.2577, allocations: 277.2 kB / 0.8807 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.2579, allocations: 92 kB / 0.8808 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.2601, allocations: 1.259 MB / 0.8821 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2601, allocations: 0 / 0.8821 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.514e-05/0.2602, allocations: 32 kB / 0.8821 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.2603, allocations: 20 kB / 0.8821 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.2631, allocations: 1.343 MB / 0.8834 GB, free: 9.266 MB / 0.7012 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.00543/0.2686, allocations: 4.539 MB / 0.8879 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/0.2762, allocations: 1.979 MB / 0.8898 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009077/0.2771, allocations: 466.3 kB / 0.8902 GB, free: 2 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/0.2778, allocations: 1.164 MB / 0.8914 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.2788, allocations: 0.5378 MB / 0.8919 GB, free: 28 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.014e-06/0.2789, allocations: 4 kB / 0.8919 GB, free: 24 kB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.00315/0.282, allocations: 1.422 MB / 0.8933 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2821, allocations: 85.67 kB / 0.8934 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.2841, allocations: 1.63 MB / 0.895 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.2842, allocations: 45.7 kB / 0.895 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.2846, allocations: 0.6395 MB / 0.8956 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.2848, allocations: 213 kB / 0.8958 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2849, allocations: 61.69 kB / 0.8959 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.285, allocations: 334 kB / 0.8962 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2862, allocations: 0.5055 MB / 0.8967 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.2875, allocations: 0.6774 MB / 0.8974 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.2896, allocations: 1.001 MB / 0.8983 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2896, allocations: 7.938 kB / 0.8983 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002829/0.2925, allocations: 1.339 MB / 0.8997 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.2925, allocations: 154.4 kB / 0.8998 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2926, allocations: 8 kB / 0.8998 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2926, allocations: 7.938 kB / 0.8998 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/0.2935, allocations: 235.7 kB / 0.9 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2936, allocations: 4 kB / 0.9 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.2948, allocations: 250.9 kB / 0.9003 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.2949, allocations: 35.97 kB / 0.9003 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.2949, allocations: 4 kB / 0.9003 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00264/0.2976, allocations: 1.175 MB / 0.9015 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2976, allocations: 7.938 kB / 0.9015 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.2976, allocations: 8 kB / 0.9015 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.2985, allocations: 231.9 kB / 0.9017 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2986, allocations: 4 kB / 0.9017 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.2997, allocations: 219 kB / 0.9019 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.2997, allocations: 31.98 kB / 0.9019 GB, free: 5.531 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004522/0.3002, allocations: 434.1 kB / 0.9024 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3004, allocations: 158 kB / 0.9025 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.3028, allocations: 1.281 MB / 0.9038 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3028, allocations: 11.94 kB / 0.9038 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3028, allocations: 0 / 0.9038 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3028, allocations: 3.984 kB / 0.9038 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.3066, allocations: 2.723 MB / 0.9064 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3067, allocations: 4.312 kB / 0.9064 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/0.3073, allocations: 151.8 kB / 0.9066 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3073, allocations: 4 kB / 0.9066 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.3074, allocations: 19.98 kB / 0.9066 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3074, allocations: 8 kB / 0.9066 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3074, allocations: 11.88 kB / 0.9066 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.3095, allocations: 1.284 MB / 0.9079 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.31, allocations: 398.7 kB / 0.9083 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.3102, allocations: 16 kB / 0.9083 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009979/0.3112, allocations: 123.9 kB / 0.9084 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.3113, allocations: 52.31 kB / 0.9084 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.3113, allocations: 35.97 kB / 0.9085 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001469/0.3128, allocations: 1.153 MB / 0.9096 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.3128, allocations: 4 kB / 0.9096 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001384/0.3142, allocations: 0.7136 MB / 0.9103 GB, free: 12.8 MB / 0.7325 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 (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.003684/0.3179, allocations: 2.501 MB / 0.9128 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003621/0.3215, allocations: 1.726 MB / 0.9144 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3216, allocations: 4 kB / 0.9144 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009748/0.3225, allocations: 0.5106 MB / 0.9149 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.3257, allocations: 0.6352 MB / 0.9156 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3087/0.6344, allocations: 13.31 MB / 0.9286 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.6349, allocations: 1.236 MB / 0.9298 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001379/0.6363, allocations: 400.9 kB / 0.9302 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.6369, allocations: 0.5746 MB / 0.9307 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.6369, allocations: 2.781 kB / 0.9307 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.477/4.114, allocations: 41 MB / 0.9708 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/4.114, allocations: 262 kB / 0.971 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/6.839, allocations: 0 / 0.971 GB, free: 110.2 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/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)