Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.ScrollWaterToWater_VariableSpeed,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.001041/0.001041, allocations: 100 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.001054/0.001054, 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.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9725/0.9725, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005822/0.0005824, allocations: 16 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1863, allocations: 83.41 MB / 0.5974 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.3763/0.5626, allocations: 58.5 MB / 0.6545 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.5815, allocations: 12.18 MB / 0.6664 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.5843, allocations: 65.12 kB / 0.6664 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.5872, allocations: 0.7794 MB / 0.6672 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00795/0.5952, allocations: 2.233 MB / 0.6694 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006943/0.6022, allocations: 1.895 MB / 0.6712 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006579/0.6088, allocations: 2.672 MB / 0.6738 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003358/0.6121, allocations: 1.171 MB / 0.675 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.6158, allocations: 1.258 MB / 0.6762 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.6181, allocations: 0.8229 MB / 0.677 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003766/0.6185, allocations: 67.06 kB / 0.6771 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.623, allocations: 1.167 MB / 0.6782 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.6236, allocations: 307 kB / 0.6785 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.6247, allocations: 398.6 kB / 0.6789 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0047/0.6294, allocations: 2.593 MB / 0.6814 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6294, allocations: 0 / 0.6814 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6294, allocations: 0 / 0.6814 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.36e-05/0.6294, allocations: 1.438 kB / 0.6814 GB, free: 7.812 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004572/0.634, allocations: 1.907 MB / 0.6833 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6341, allocations: 8.875 kB / 0.6833 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002928/0.6344, allocations: 179.5 kB / 0.6835 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005703/0.6401, allocations: 0.7333 MB / 0.6842 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.6438, allocations: 1.46 MB / 0.6856 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.644, allocations: 128.9 kB / 0.6857 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.6443, allocations: 121.1 kB / 0.6859 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004695/0.649, allocations: 1.644 MB / 0.6875 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.6491, allocations: 2.781 kB / 0.6875 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.6492, allocations: 48.84 kB / 0.6875 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.6493, allocations: 41.8 kB / 0.6875 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005067/0.6543, allocations: 1.485 MB / 0.689 GB, free: 4.027 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.01269/0.6671, allocations: 7.068 MB / 0.6959 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.6694, allocations: 0.7517 MB / 0.6966 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/0.671, allocations: 1.268 MB / 0.6979 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.671, allocations: 53.08 kB / 0.6979 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 3.236e-06/0.6711, allocations: 0 / 0.6979 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.02104/0.6921, allocations: 3.096 MB / 0.7009 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.6922, allocations: 113.8 kB / 0.7011 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.6949, allocations: 1.409 MB / 0.7024 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.6952, allocations: 44.98 kB / 0.7025 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007628/0.6959, allocations: 0.6919 MB / 0.7031 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.6963, allocations: 235.2 kB / 0.7034 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.6963, allocations: 19.03 kB / 0.7034 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6965, allocations: 350.3 kB / 0.7037 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.6985, allocations: 0.5122 MB / 0.7042 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.7007, allocations: 0.7828 MB / 0.705 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.7028, allocations: 0.5652 MB / 0.7055 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.7028, allocations: 6.094 kB / 0.7055 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01304/0.7158, allocations: 2.148 MB / 0.7076 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.717, allocations: 2.491 MB / 0.7101 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.717, allocations: 5.969 kB / 0.7101 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.719, allocations: 487 kB / 0.7105 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.7207, allocations: 270 kB / 0.7108 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.7225, allocations: 0.9997 MB / 0.7118 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/0.7256, allocations: 284.2 kB / 0.7121 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.7258, allocations: 52.2 kB / 0.7121 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.7258, allocations: 3.531 kB / 0.7121 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01246/0.7383, allocations: 2.007 MB / 0.7141 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/0.7384, allocations: 9.438 kB / 0.7141 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.7402, allocations: 479.5 kB / 0.7145 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.7419, allocations: 264.4 kB / 0.7148 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.7437, allocations: 1.004 MB / 0.7158 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.7465, allocations: 251.7 kB / 0.716 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.7467, allocations: 55.94 kB / 0.7161 GB, free: 1.297 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.7478, allocations: 444.8 kB / 0.7165 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.7482, allocations: 154.1 kB / 0.7166 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.7526, allocations: 1.337 MB / 0.7179 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.7526, allocations: 8 kB / 0.7179 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.7526, allocations: 4 kB / 0.7179 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003678/0.7563, allocations: 1.147 MB / 0.7191 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008869/0.7652, allocations: 3.116 MB / 0.7221 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.7652, allocations: 4 kB / 0.7221 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.7662, allocations: 155.7 kB / 0.7223 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.7679, allocations: 486.5 kB / 0.7227 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-05/0.768, allocations: 31.97 kB / 0.7228 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.7697, allocations: 0.9875 MB / 0.7237 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7698, allocations: 4 kB / 0.7237 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006506/0.7763, allocations: 2.249 MB / 0.7259 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.7778, allocations: 410.8 kB / 0.7263 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.7781, allocations: 24 kB / 0.7263 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.78, allocations: 153.5 kB / 0.7265 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7801, allocations: 64.25 kB / 0.7265 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.7802, allocations: 43.95 kB / 0.7266 GB, free: 6.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001908/0.7821, allocations: 1.013 MB / 0.7276 GB, free: 5.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7821, allocations: 0 / 0.7276 GB, free: 5.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003224/0.7854, allocations: 0.889 MB / 0.7284 GB, free: 4.121 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.008395/0.7938, allocations: 4.429 MB / 0.7328 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006955/0.8008, allocations: 1.853 MB / 0.7346 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.8008, allocations: 0 / 0.7346 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.8028, allocations: 0.5336 MB / 0.7351 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/0.8068, allocations: 0.775 MB / 0.7359 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009796/0.8166, allocations: 8.206 MB / 0.7439 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009341/0.8176, allocations: 1.238 MB / 0.7451 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002012/0.8196, allocations: 372.2 kB / 0.7454 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/0.8204, allocations: 0.5851 MB / 0.746 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.8205, allocations: 0 / 0.746 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08308/0.9035, allocations: 50.11 MB / 0.7949 GB, free: 420 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.9039, allocations: 276.7 kB / 0.7952 GB, free: 52 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/4.141, allocations: 2.953 kB / 0.7952 GB, free: 52 kB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: