Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.0009877/0.0009877, allocations: 100.6 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.001093/0.001093, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.053/1.053, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003479, allocations: 15.98 kB / 0.5159 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 83.4 MB / 0.5973 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4103/0.6193, allocations: 51.28 MB / 0.6474 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.6318, allocations: 10.34 MB / 0.6575 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.634, allocations: 50.06 kB / 0.6576 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.6359, allocations: 0.6281 MB / 0.6582 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.6417, allocations: 1.944 MB / 0.6601 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.6456, allocations: 1.31 MB / 0.6614 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003723/0.6493, allocations: 1.857 MB / 0.6632 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.6508, allocations: 0.8305 MB / 0.664 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.6531, allocations: 0.9866 MB / 0.665 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.6542, allocations: 0.608 MB / 0.6655 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.6543, allocations: 43.38 kB / 0.6656 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.6568, allocations: 0.9872 MB / 0.6666 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.657, allocations: 198 kB / 0.6667 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.6574, allocations: 286.1 kB / 0.667 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.66, allocations: 1.696 MB / 0.6687 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.66, allocations: 0 / 0.6687 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.66, allocations: 4 kB / 0.6687 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.717e-05/0.66, allocations: 0 / 0.6687 GB, free: 15.62 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003088/0.6631, allocations: 1.486 MB / 0.6701 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6632, allocations: 8.812 kB / 0.6701 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.6634, allocations: 126.7 kB / 0.6703 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/0.666, allocations: 0.5129 MB / 0.6708 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.6682, allocations: 1.06 MB / 0.6718 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/0.6686, allocations: 133.1 kB / 0.6719 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.6688, allocations: 92.53 kB / 0.672 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.6711, allocations: 1.026 MB / 0.673 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.6712, allocations: 0.6562 kB / 0.673 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.6712, allocations: 35.91 kB / 0.673 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.6713, allocations: 23.75 kB / 0.6731 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.6741, allocations: 1.002 MB / 0.674 GB, free: 12.91 MB / 0.5137 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.007157/0.6813, allocations: 4.741 MB / 0.6787 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00449/0.6858, allocations: 1.135 MB / 0.6798 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.687, allocations: 1.027 MB / 0.6808 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.6871, allocations: 39.25 kB / 0.6808 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.835e-06/0.6871, allocations: 4 kB / 0.6808 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01065/0.6977, allocations: 2.48 MB / 0.6832 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.6978, allocations: 57.34 kB / 0.6833 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.6999, allocations: 0.947 MB / 0.6842 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.7, allocations: 38.08 kB / 0.6843 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.7005, allocations: 0.5039 MB / 0.6848 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.7007, allocations: 179.2 kB / 0.6849 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.7008, allocations: 14.09 kB / 0.6849 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7009, allocations: 337.8 kB / 0.6853 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.7022, allocations: 370.3 kB / 0.6856 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.7035, allocations: 0.545 MB / 0.6861 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.7048, allocations: 397.3 kB / 0.6865 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.7048, allocations: 1.312 kB / 0.6865 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003628/0.7084, allocations: 1.119 MB / 0.6876 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004862/0.7089, allocations: 0.9692 MB / 0.6886 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.7089, allocations: 2.812 kB / 0.6886 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.7104, allocations: 339.1 kB / 0.6889 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.7111, allocations: 145.8 kB / 0.689 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.7128, allocations: 0.9393 MB / 0.69 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.7144, allocations: 173.3 kB / 0.6901 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.7145, allocations: 32.94 kB / 0.6901 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.7145, allocations: 4.344 kB / 0.6902 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002882/0.7174, allocations: 1.008 MB / 0.6911 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.7174, allocations: 4.375 kB / 0.6911 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.7186, allocations: 320.8 kB / 0.6914 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.7193, allocations: 145.8 kB / 0.6916 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.7209, allocations: 0.9324 MB / 0.6925 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.7224, allocations: 174 kB / 0.6927 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/0.7225, allocations: 28.34 kB / 0.6927 GB, free: 2.062 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007023/0.7232, allocations: 352 kB / 0.693 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.7235, allocations: 110.7 kB / 0.6931 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/0.7284, allocations: 1.437 MB / 0.6945 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.7285, allocations: 10.75 kB / 0.6945 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7285, allocations: 1.734 kB / 0.6945 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.7285, allocations: 3.141 kB / 0.6945 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006407/0.7349, allocations: 2.532 MB / 0.697 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.7349, allocations: 6.172 kB / 0.697 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.7355, allocations: 121.8 kB / 0.6971 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.7366, allocations: 330.6 kB / 0.6975 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.7367, allocations: 15.69 kB / 0.6975 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.7382, allocations: 0.9601 MB / 0.6984 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7382, allocations: 2.188 kB / 0.6984 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004617/0.7428, allocations: 1.542 MB / 0.6999 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007704/0.7436, allocations: 298.1 kB / 0.7002 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.7438, allocations: 13.88 kB / 0.7002 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.7448, allocations: 125.4 kB / 0.7003 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.7449, allocations: 41.03 kB / 0.7004 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.745, allocations: 23.67 kB / 0.7004 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001044/0.746, allocations: 0.6652 MB / 0.701 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.746, allocations: 0 / 0.701 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001702/0.7477, allocations: 0.5768 MB / 0.7016 GB, free: 13.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005439/0.7532, allocations: 2.763 MB / 0.7043 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003873/0.7571, allocations: 1.386 MB / 0.7057 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.7571, allocations: 0 / 0.7057 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.7584, allocations: 489.3 kB / 0.7061 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.7611, allocations: 0.4922 MB / 0.7066 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.7672, allocations: 4.478 MB / 0.711 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.7679, allocations: 1.094 MB / 0.7121 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001207/0.7691, allocations: 231.1 kB / 0.7123 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.7697, allocations: 415.3 kB / 0.7127 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of SimCode: time 9.51e-07/0.7697, allocations: 0 / 0.7127 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0589/0.8286, allocations: 33.21 MB / 0.7451 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/0.829, allocations: 266.4 kB / 0.7454 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.426, allocations: 4 kB / 0.7454 GB, free: 3.57 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: