Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 107.3 kB / 16.41 MB, free: 6.449 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.001251/0.001251, allocations: 187 kB / 17.34 MB, free: 5.719 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.201/1.201, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.7772/0.7772, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 72.52 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1269, allocations: 82.04 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03509/0.162, allocations: 41.57 MB / 0.7169 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.1757, allocations: 10.41 MB / 0.7271 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.1773, allocations: 55.69 kB / 0.7271 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.1789, allocations: 0.6365 MB / 0.7278 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.1834, allocations: 1.881 MB / 0.7296 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.1861, allocations: 1.19 MB / 0.7308 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004457/0.1906, allocations: 3.391 MB / 0.7341 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.192, allocations: 1.06 MB / 0.7351 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.1947, allocations: 1.237 MB / 0.7363 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.196, allocations: 0.8789 MB / 0.7372 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1962, allocations: 100 kB / 0.7373 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.1979, allocations: 0.8617 MB / 0.7381 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.1982, allocations: 283 kB / 0.7384 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.1988, allocations: 0.6337 MB / 0.739 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.2012, allocations: 2.014 MB / 0.741 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2012, allocations: 4 kB / 0.741 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2012, allocations: 0 / 0.741 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.2012, allocations: 0 / 0.741 GB, free: 7.898 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002133/0.2034, allocations: 1.511 MB / 0.7424 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2034, allocations: 8.031 kB / 0.7425 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.2037, allocations: 139.4 kB / 0.7426 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.2053, allocations: 1.111 MB / 0.7437 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.2054, allocations: 54 kB / 0.7437 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.2055, allocations: 72 kB / 0.7438 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2067, allocations: 0.7944 MB / 0.7446 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2067, allocations: 0 / 0.7446 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.2068, allocations: 28 kB / 0.7446 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.2068, allocations: 20 kB / 0.7446 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2079, allocations: 0.5789 MB / 0.7452 GB, free: 3.453 MB / 0.5762 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.2894/0.4972, allocations: 3.546 MB / 0.7486 GB, free: 70.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.4979, allocations: 262.5 kB / 0.7489 GB, free: 70.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.4983, allocations: 182.9 kB / 0.7491 GB, free: 70.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003527/0.4987, allocations: 0.6564 MB / 0.7497 GB, free: 69.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.4987, allocations: 38.27 kB / 0.7497 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.4987, allocations: 0 / 0.7497 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001226/0.4999, allocations: 0.5133 MB / 0.7502 GB, free: 69.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.5, allocations: 57.97 kB / 0.7503 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.5011, allocations: 0.9436 MB / 0.7512 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.5011, allocations: 34.7 kB / 0.7513 GB, free: 69.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.5014, allocations: 0.4962 MB / 0.7517 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.5015, allocations: 110.3 kB / 0.7518 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.5016, allocations: 115.8 kB / 0.752 GB, free: 69.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.5017, allocations: 332.6 kB / 0.7523 GB, free: 69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.502, allocations: 163.1 kB / 0.7524 GB, free: 69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.5024, allocations: 348.9 kB / 0.7528 GB, free: 68.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.5031, allocations: 0.5171 MB / 0.7533 GB, free: 68.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5031, allocations: 2.188 kB / 0.7533 GB, free: 68.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009816/0.5041, allocations: 0.6185 MB / 0.7539 GB, free: 68.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5042, allocations: 8.688 kB / 0.7539 GB, free: 68.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.5042, allocations: 4.562 kB / 0.7539 GB, free: 68.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.5042, allocations: 8.828 kB / 0.7539 GB, free: 68.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.5046, allocations: 122.6 kB / 0.754 GB, free: 68.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.5046, allocations: 18.3 kB / 0.754 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.5052, allocations: 84.41 kB / 0.7541 GB, free: 68.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.5052, allocations: 27.39 kB / 0.7541 GB, free: 68.17 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0002767/0.5055, allocations: 276.8 kB / 0.7544 GB, free: 67.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.5056, allocations: 99.91 kB / 0.7545 GB, free: 67.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009108/0.5066, allocations: 482.9 kB / 0.755 GB, free: 67.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5066, allocations: 5.078 kB / 0.755 GB, free: 67.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5066, allocations: 3.938 kB / 0.755 GB, free: 67.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006645/0.5073, allocations: 449 kB / 0.7554 GB, free: 67.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.5092, allocations: 1.376 MB / 0.7567 GB, free: 66.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5092, allocations: 1.875 kB / 0.7567 GB, free: 66.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.5096, allocations: 77.06 kB / 0.7568 GB, free: 66.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5096, allocations: 3.391 kB / 0.7568 GB, free: 66.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.5096, allocations: 9.172 kB / 0.7568 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5096, allocations: 6.594 kB / 0.7568 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5096, allocations: 3.438 kB / 0.7568 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.5109, allocations: 0.7655 MB / 0.7576 GB, free: 66.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.5112, allocations: 233.5 kB / 0.7578 GB, free: 66.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5113, allocations: 8.109 kB / 0.7578 GB, free: 66.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.5118, allocations: 27.97 kB / 0.7578 GB, free: 66.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.5119, allocations: 24.64 kB / 0.7579 GB, free: 66.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.5119, allocations: 25.17 kB / 0.7579 GB, free: 66.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008491/0.5128, allocations: 0.6588 MB / 0.7585 GB, free: 65.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5128, allocations: 1.781 kB / 0.7585 GB, free: 65.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001047/0.5138, allocations: 339 kB / 0.7588 GB, free: 65.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.0008021/0.5146, allocations: 408.2 kB / 0.7592 GB, free: 65.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009515/0.5156, allocations: 421.2 kB / 0.7596 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5156, allocations: 1.438 kB / 0.7596 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.516, allocations: 189 kB / 0.7598 GB, free: 65.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.5184, allocations: 0.6059 MB / 0.7604 GB, free: 65.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.5206, allocations: 1.63 MB / 0.762 GB, free: 64.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.5211, allocations: 1.029 MB / 0.763 GB, free: 63.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.5213, allocations: 83.78 kB / 0.7631 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.5213, allocations: 1.125 kB / 0.7631 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0244/0.5457, allocations: 18.26 MB / 0.7809 GB, free: 56.4 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)