Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.001605/0.001604, allocations: 108.8 kB / 16.41 MB, free: 6.516 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.001475/0.001474, allocations: 189.3 kB / 17.34 MB, free: 5.738 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.816/0.816, allocations: 125.4 MB / 416.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 68.94 kB / 0.5716 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1887, allocations: 78.57 MB / 0.6484 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04987/0.2386, allocations: 41.63 MB / 0.689 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.2547, allocations: 10.4 MB / 0.6992 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.2567, allocations: 59.62 kB / 0.6992 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.2586, allocations: 0.6404 MB / 0.6999 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.2638, allocations: 1.875 MB / 0.7017 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.267, allocations: 1.191 MB / 0.7028 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005077/0.2721, allocations: 3.395 MB / 0.7062 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.2738, allocations: 1.072 MB / 0.7072 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.2776, allocations: 1.387 MB / 0.7086 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.2793, allocations: 0.8749 MB / 0.7094 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.2795, allocations: 100 kB / 0.7095 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.2816, allocations: 0.854 MB / 0.7103 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.282, allocations: 283 kB / 0.7106 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008381/0.2828, allocations: 0.6259 MB / 0.7112 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.2868, allocations: 1.939 MB / 0.7131 GB, free: 3.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2869, allocations: 4 kB / 0.7131 GB, free: 3.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2869, allocations: 0 / 0.7131 GB, free: 3.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.866e-05/0.2869, allocations: 4 kB / 0.7131 GB, free: 3.074 MB / 0.545 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.003109/0.2901, allocations: 1.544 MB / 0.7146 GB, free: 1.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.2901, allocations: 12.03 kB / 0.7146 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.2903, allocations: 118.6 kB / 0.7148 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/0.2907, allocations: 140.1 kB / 0.7149 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.2927, allocations: 1.115 MB / 0.716 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.2928, allocations: 61.98 kB / 0.716 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2929, allocations: 79.97 kB / 0.7161 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.2944, allocations: 0.7866 MB / 0.7169 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.2945, allocations: 3.938 kB / 0.7169 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.2945, allocations: 32 kB / 0.7169 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.2946, allocations: 20 kB / 0.7169 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2959, allocations: 0.5672 MB / 0.7175 GB, free: 14.46 MB / 0.5606 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.004645/0.3006, allocations: 3.711 MB / 0.7211 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.3012, allocations: 264.5 kB / 0.7214 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.3016, allocations: 178.2 kB / 0.7215 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.3022, allocations: 0.6648 MB / 0.7222 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3022, allocations: 34.56 kB / 0.7222 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.3022, allocations: 0 / 0.7222 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001321/0.3036, allocations: 0.513 MB / 0.7227 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3036, allocations: 63.33 kB / 0.7228 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.3049, allocations: 0.9495 MB / 0.7237 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.3049, allocations: 33.7 kB / 0.7237 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.3054, allocations: 0.4927 MB / 0.7242 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3055, allocations: 130.9 kB / 0.7243 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.3057, allocations: 110.2 kB / 0.7245 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3059, allocations: 330 kB / 0.7248 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.3063, allocations: 165 kB / 0.7249 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.3068, allocations: 350.9 kB / 0.7253 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009397/0.3078, allocations: 0.507 MB / 0.7258 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3078, allocations: 8 kB / 0.7258 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001241/0.3091, allocations: 0.6177 MB / 0.7264 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3091, allocations: 8 kB / 0.7264 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3091, allocations: 4 kB / 0.7264 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3091, allocations: 8 kB / 0.7264 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.3096, allocations: 123.8 kB / 0.7265 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.3096, allocations: 16.31 kB / 0.7265 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.3102, allocations: 95.38 kB / 0.7266 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.3103, allocations: 27.98 kB / 0.7266 GB, free: 4.453 MB / 0.5606 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.0003745/0.3107, allocations: 269.6 kB / 0.7269 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.3108, allocations: 103.3 kB / 0.727 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.3119, allocations: 481.2 kB / 0.7275 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.312, allocations: 7.938 kB / 0.7275 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.312, allocations: 7.938 kB / 0.7275 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008087/0.3128, allocations: 460.9 kB / 0.7279 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.315, allocations: 1.356 MB / 0.7292 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.315, allocations: 4 kB / 0.7292 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.3154, allocations: 80.05 kB / 0.7293 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3154, allocations: 0 / 0.7293 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3154, allocations: 12 kB / 0.7293 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.3154, allocations: 7.984 kB / 0.7293 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3154, allocations: 8 kB / 0.7293 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3168, allocations: 0.7638 MB / 0.7301 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.3172, allocations: 228.3 kB / 0.7303 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3173, allocations: 16.06 kB / 0.7303 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.3178, allocations: 31.91 kB / 0.7303 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.3179, allocations: 27.95 kB / 0.7304 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.3179, allocations: 19.98 kB / 0.7304 GB, free: 448 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009293/0.3189, allocations: 0.6549 MB / 0.731 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3189, allocations: 3.938 kB / 0.731 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009692/0.3198, allocations: 351.1 kB / 0.7314 GB, free: 15.43 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.002397/0.3223, allocations: 1.609 MB / 0.7329 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009546/0.3232, allocations: 424.9 kB / 0.7333 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3232, allocations: 1.375 kB / 0.7333 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.3237, allocations: 184.1 kB / 0.7335 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.3264, allocations: 0.6077 MB / 0.7341 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.3368, allocations: 6.841 MB / 0.7408 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008546/0.3377, allocations: 1.04 MB / 0.7418 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009429/0.3387, allocations: 194.9 kB / 0.742 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.3393, allocations: 371.3 kB / 0.7424 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.3393, allocations: 0 / 0.7424 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.375/0.7144, allocations: 29.74 MB / 0.7714 GB, free: 85.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.86, allocations: 14.41 kB / 0.7714 GB, free: 85.22 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)