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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009986/0.0009986, allocations: 180.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.3 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008685/0.0008684, allocations: 81.81 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.35e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6962/0.6962, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.753, allocations: 419 MB / 1.383 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.753, allocations: 90.95 kB / 1.383 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.5/4.253, allocations: 0.6125 GB / 1.995 GB, free: 188.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/4.253, allocations: 1.281 kB / 1.995 GB, free: 188.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002268/4.253, allocations: 37.19 kB / 1.995 GB, free: 188.5 MB / 0.948 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.005987/4.259, allocations: 1.732 MB / 1.997 GB, free: 188 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/4.259, allocations: 9.562 kB / 1.997 GB, free: 188 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/4.263, allocations: 0.4912 MB / 1.997 GB, free: 187.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/4.269, allocations: 1.493 MB / 1.999 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/4.27, allocations: 247.3 kB / 1.999 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/4.271, allocations: 53.66 kB / 1.999 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002969/4.274, allocations: 0.9922 MB / 2 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/4.276, allocations: 0.9821 MB / 2.001 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/4.276, allocations: 1.188 kB / 2.001 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/4.276, allocations: 1.25 kB / 2.001 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/4.276, allocations: 21.03 kB / 2.001 GB, free: 187.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01138/4.288, allocations: 4.312 MB / 2.005 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009196/4.297, allocations: 1.615 MB / 2.007 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/4.298, allocations: 356.8 kB / 2.007 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008985/4.299, allocations: 1.159 MB / 2.008 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008932/4.3, allocations: 446.3 kB / 2.009 GB, free: 184.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 4.318e-06/4.3, allocations: 0 / 2.009 GB, free: 184.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.002813/4.303, allocations: 0.8443 MB / 2.01 GB, free: 184.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/4.303, allocations: 84.52 kB / 2.01 GB, free: 184.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/4.305, allocations: 1.191 MB / 2.011 GB, free: 184.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/4.305, allocations: 26.45 kB / 2.011 GB, free: 184 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007545/4.306, allocations: 0.6815 MB / 2.011 GB, free: 183.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/4.306, allocations: 198.4 kB / 2.012 GB, free: 183.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/4.306, allocations: 0 / 2.012 GB, free: 183.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.947e-05/4.306, allocations: 325.8 kB / 2.012 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/4.307, allocations: 349.4 kB / 2.012 GB, free: 183.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/4.308, allocations: 0.5332 MB / 2.013 GB, free: 183.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/4.309, allocations: 427.8 kB / 2.013 GB, free: 183.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/4.309, allocations: 0 / 2.013 GB, free: 183.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002466/4.312, allocations: 0.9901 MB / 2.014 GB, free: 183.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/4.312, allocations: 0.8931 MB / 2.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/4.312, allocations: 3.875 kB / 2.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/4.312, allocations: 14.14 kB / 2.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/4.313, allocations: 217.4 kB / 2.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/4.313, allocations: 6.484 kB / 2.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/4.315, allocations: 201.5 kB / 2.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/4.315, allocations: 37.2 kB / 2.016 GB, free: 182.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/4.315, allocations: 3.938 kB / 2.016 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002167/4.318, allocations: 0.8235 MB / 2.016 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/4.318, allocations: 6.906 kB / 2.016 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/4.318, allocations: 6.781 kB / 2.016 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/4.319, allocations: 217.5 kB / 2.017 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/4.319, allocations: 7.734 kB / 2.017 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/4.321, allocations: 169.2 kB / 2.017 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/4.321, allocations: 34.88 kB / 2.017 GB, free: 182.2 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002573/4.321, allocations: 123 kB / 2.017 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001982/4.323, allocations: 0.8451 MB / 2.018 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/4.323, allocations: 137.1 kB / 2.018 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/4.326, allocations: 1.068 MB / 2.019 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/4.326, allocations: 7.781 kB / 2.019 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/4.326, allocations: 7.016 kB / 2.019 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/4.326, allocations: 3.938 kB / 2.019 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/4.331, allocations: 2.494 MB / 2.021 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/4.331, allocations: 7.797 kB / 2.021 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/4.332, allocations: 160.6 kB / 2.021 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/4.332, allocations: 7.062 kB / 2.021 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/4.332, allocations: 11.59 kB / 2.022 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/4.332, allocations: 6.219 kB / 2.022 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/4.332, allocations: 3.875 kB / 2.022 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/4.335, allocations: 1.276 MB / 2.023 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/4.335, allocations: 391.9 kB / 2.023 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/4.336, allocations: 3.312 kB / 2.023 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/4.337, allocations: 114.1 kB / 2.023 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/4.337, allocations: 62 kB / 2.023 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/4.338, allocations: 35.03 kB / 2.023 GB, free: 180.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001536/4.339, allocations: 0.906 MB / 2.024 GB, free: 180.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/4.339, allocations: 0 / 2.024 GB, free: 180.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002991/4.342, allocations: 0.7522 MB / 2.025 GB, free: 180.5 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 63 * 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.005443/4.348, allocations: 3.417 MB / 2.028 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003154/4.351, allocations: 1.32 MB / 2.03 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/4.351, allocations: 1.688 kB / 2.03 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009107/4.352, allocations: 439.2 kB / 2.03 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/4.355, allocations: 499.5 kB / 2.03 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/4.362, allocations: 2.182 MB / 2.033 GB, free: 178 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/4.363, allocations: 1.271 MB / 2.034 GB, free: 177.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003245/4.366, allocations: 0.4991 MB / 2.034 GB, free: 177.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009805/4.367, allocations: 0.5364 MB / 2.035 GB, free: 177.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/4.367, allocations: 0 / 2.035 GB, free: 177.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09891/4.466, allocations: 38.55 MB / 2.073 GB, free: 176.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/4.466, allocations: 193.7 kB / 2.073 GB, free: 176 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.704/8.17, allocations: 2.812 kB / 2.073 GB, free: 176 MB / 0.948 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)