Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.0006781/0.0006781, 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.004254/0.004254, 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 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9442/0.9442, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 15.92 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 83.42 MB / 0.598 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5124/0.6694, allocations: 209.3 MB / 0.8023 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.6807, allocations: 7.07 MB / 0.8093 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.6823, allocations: 43.69 kB / 0.8093 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.6843, allocations: 0.6489 MB / 0.8099 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006472/0.6908, allocations: 2.36 MB / 0.8122 GB, free: 448 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.6937, allocations: 1.062 MB / 0.8133 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004559/0.6983, allocations: 3.754 MB / 0.8169 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.6998, allocations: 0.9025 MB / 0.8178 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.704, allocations: 1.759 MB / 0.8195 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.7064, allocations: 0.9088 MB / 0.8204 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.7067, allocations: 52 kB / 0.8205 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.7119, allocations: 2.794 MB / 0.8232 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006167/0.7125, allocations: 350.7 kB / 0.8235 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.7138, allocations: 0.6273 MB / 0.8241 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004768/0.7186, allocations: 2.609 MB / 0.8267 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.7186, allocations: 0 / 0.8267 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7186, allocations: 0 / 0.8267 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.095e-05/0.7187, allocations: 0 / 0.8267 GB, free: 1.594 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004514/0.7232, allocations: 1.602 MB / 0.8283 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.7233, allocations: 11.97 kB / 0.8283 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.7235, allocations: 139 kB / 0.8284 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.7267, allocations: 0.5799 MB / 0.829 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.7284, allocations: 0.9602 MB / 0.8299 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006563/0.7291, allocations: 197.9 kB / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.7293, allocations: 83.98 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.7321, allocations: 1.268 MB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.7321, allocations: 4 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7322, allocations: 28 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.7323, allocations: 49.97 kB / 0.8315 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.7361, allocations: 1.624 MB / 0.8331 GB, free: 10.94 MB / 0.6544 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.00665/0.7427, allocations: 4.103 MB / 0.8371 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.7453, allocations: 1.053 MB / 0.8381 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.7469, allocations: 0.6987 MB / 0.8388 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.748, allocations: 0.636 MB / 0.8394 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.748, allocations: 39.22 kB / 0.8395 GB, free: 4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/0.748, allocations: 0 / 0.8395 GB, free: 4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.004994/0.753, allocations: 1.918 MB / 0.8413 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.7531, allocations: 68 kB / 0.8414 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.7542, allocations: 0.8231 MB / 0.8422 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.7543, allocations: 45.7 kB / 0.8422 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.7546, allocations: 440.5 kB / 0.8427 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.7548, allocations: 256.2 kB / 0.8429 GB, free: 416 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.7549, allocations: 69.67 kB / 0.843 GB, free: 340 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7551, allocations: 334.2 kB / 0.8433 GB, free: 0 / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.7565, allocations: 0.5641 MB / 0.8438 GB, free: 15.44 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.7581, allocations: 0.7028 MB / 0.8445 GB, free: 14.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.7609, allocations: 1.217 MB / 0.8457 GB, free: 13.46 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.761, allocations: 0 / 0.8457 GB, free: 13.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003428/0.7644, allocations: 1.435 MB / 0.8471 GB, free: 12.02 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.7645, allocations: 160.8 kB / 0.8473 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7645, allocations: 0 / 0.8473 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.7646, allocations: 8 kB / 0.8473 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.7661, allocations: 276.1 kB / 0.8475 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006793/0.7668, allocations: 1.192 MB / 0.8487 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.7681, allocations: 197 kB / 0.8489 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.652e-05/0.7682, allocations: 35.98 kB / 0.8489 GB, free: 10.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.7683, allocations: 7.938 kB / 0.8489 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003209/0.7715, allocations: 1.317 MB / 0.8502 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7715, allocations: 0 / 0.8502 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.7715, allocations: 11.88 kB / 0.8502 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.7727, allocations: 259.7 kB / 0.8505 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.7727, allocations: 4.547 kB / 0.8505 GB, free: 8.492 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.774, allocations: 203.1 kB / 0.8507 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.7741, allocations: 31.98 kB / 0.8507 GB, free: 8.262 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006084/0.7747, allocations: 368.9 kB / 0.8511 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.7749, allocations: 102.8 kB / 0.8512 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.7785, allocations: 1.437 MB / 0.8526 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.7785, allocations: 8.094 kB / 0.8526 GB, free: 6.332 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7785, allocations: 4 kB / 0.8526 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.7785, allocations: 7.969 kB / 0.8526 GB, free: 6.32 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.7841, allocations: 2.919 MB / 0.8554 GB, free: 3.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.7841, allocations: 8 kB / 0.8554 GB, free: 3.289 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.7853, allocations: 259.5 kB / 0.8557 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.7853, allocations: 8 kB / 0.8557 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.7854, allocations: 27.91 kB / 0.8557 GB, free: 3.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006059/0.786, allocations: 1.191 MB / 0.8569 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.786, allocations: 8 kB / 0.8569 GB, free: 1.758 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.7894, allocations: 1.533 MB / 0.8584 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2702/1.06, allocations: 307.6 kB / 0.8587 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.06, allocations: 18.58 kB / 0.8587 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.061, allocations: 165.4 kB / 0.8589 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.061, allocations: 68.14 kB / 0.8589 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/1.061, allocations: 42.2 kB / 0.859 GB, free: 209.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006414/1.062, allocations: 0.5643 MB / 0.8595 GB, free: 209.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.062, allocations: 0 / 0.8595 GB, free: 209.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001202/1.063, allocations: 0.537 MB / 0.86 GB, free: 209.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003516/1.067, allocations: 2.249 MB / 0.8622 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005072/1.072, allocations: 2.152 MB / 0.8643 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.072, allocations: 0 / 0.8643 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/1.073, allocations: 0.7059 MB / 0.865 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/1.076, allocations: 0.5148 MB / 0.8655 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.093, allocations: 9.691 MB / 0.875 GB, free: 204.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/1.093, allocations: 1.1 MB / 0.8761 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001578/1.095, allocations: 387.5 kB / 0.8764 GB, free: 204.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/1.095, allocations: 395.5 kB / 0.8768 GB, free: 203.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/1.095, allocations: 0 / 0.8768 GB, free: 203.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/1.155, allocations: 27.54 MB / 0.9037 GB, free: 200.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.156, allocations: 294.5 kB / 0.904 GB, free: 200.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.654, allocations: 0 / 0.904 GB, free: 200.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)