Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 103.1 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8183/0.8183, allocations: 134 MB / 442.8 MB, free: 11.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 76.41 kB / 0.6134 GB, free: 8.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1926, allocations: 85.85 MB / 0.6973 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4795/0.672, allocations: 78.01 MB / 0.7735 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.6994, allocations: 18.88 MB / 0.7919 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005714/0.7051, allocations: 152.6 kB / 0.792 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004514/0.7096, allocations: 1.3 MB / 0.7933 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.7223, allocations: 3.807 MB / 0.797 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.7287, allocations: 2.089 MB / 0.7991 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.7405, allocations: 6.673 MB / 0.8056 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/0.7441, allocations: 1.716 MB / 0.8073 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007236/0.7513, allocations: 2.419 MB / 0.8096 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004431/0.7557, allocations: 1.857 MB / 0.8114 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004511/0.7562, allocations: 198.7 kB / 0.8116 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.7618, allocations: 1.725 MB / 0.8133 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007506/0.7626, allocations: 0.5667 MB / 0.8139 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.7648, allocations: 1.256 MB / 0.8151 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007637/0.7725, allocations: 3.865 MB / 0.8189 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.7725, allocations: 0 / 0.8189 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7725, allocations: 3.938 kB / 0.8189 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.901e-05/0.7725, allocations: 0 / 0.8189 GB, free: 11.12 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004951/0.7775, allocations: 2.792 MB / 0.8216 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.7775, allocations: 10.67 kB / 0.8216 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.7778, allocations: 198.1 kB / 0.8218 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007116/0.7785, allocations: 291.8 kB / 0.8221 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.7818, allocations: 2.035 MB / 0.8241 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/0.7819, allocations: 106.7 kB / 0.8242 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.7821, allocations: 147.9 kB / 0.8243 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.7848, allocations: 1.528 MB / 0.8258 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.7848, allocations: 0 / 0.8258 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.7849, allocations: 56 kB / 0.8259 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.785, allocations: 44 kB / 0.8259 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.7873, allocations: 1.13 MB / 0.827 GB, free: 3.758 MB / 0.5919 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.009075/0.7964, allocations: 7.608 MB / 0.8344 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.7974, allocations: 449.9 kB / 0.8349 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.7981, allocations: 310.3 kB / 0.8352 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.7992, allocations: 1.152 MB / 0.8363 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.7992, allocations: 39.22 kB / 0.8363 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.235e-06/0.7992, allocations: 3.938 kB / 0.8363 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.002477/0.8017, allocations: 0.9662 MB / 0.8373 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.8018, allocations: 59.97 kB / 0.8373 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.8044, allocations: 1.787 MB / 0.8391 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.8045, allocations: 41.7 kB / 0.8391 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009971/0.8055, allocations: 0.9451 MB / 0.84 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.8058, allocations: 238 kB / 0.8403 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.8061, allocations: 226.7 kB / 0.8405 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.8063, allocations: 357.9 kB / 0.8408 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007387/0.8071, allocations: 322.4 kB / 0.8411 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.8083, allocations: 0.6938 MB / 0.8418 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.8101, allocations: 1.008 MB / 0.8428 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.8101, allocations: 0 / 0.8428 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002526/0.8127, allocations: 1.223 MB / 0.844 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.8127, allocations: 12 kB / 0.844 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.8127, allocations: 11.98 kB / 0.844 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.8127, allocations: 16 kB / 0.844 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8138, allocations: 291.9 kB / 0.8443 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.8138, allocations: 19.94 kB / 0.8443 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.8151, allocations: 174.8 kB / 0.8445 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/0.8152, allocations: 55.92 kB / 0.8445 GB, free: 0.5625 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007616/0.816, allocations: 441.5 kB / 0.845 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.8163, allocations: 198.8 kB / 0.8451 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.8182, allocations: 0.8673 MB / 0.846 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.8182, allocations: 8 kB / 0.846 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.8182, allocations: 4 kB / 0.846 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/0.8198, allocations: 0.7956 MB / 0.8468 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.8243, allocations: 2.455 MB / 0.8492 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.8243, allocations: 3.938 kB / 0.8492 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.8251, allocations: 184 kB / 0.8494 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.8252, allocations: 4 kB / 0.8494 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.8252, allocations: 16 kB / 0.8494 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/0.8252, allocations: 4 kB / 0.8494 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.8252, allocations: 7.938 kB / 0.8494 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.8279, allocations: 1.349 MB / 0.8507 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000671/0.8286, allocations: 379.5 kB / 0.8511 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.8288, allocations: 19.92 kB / 0.8511 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/0.8297, allocations: 59.92 kB / 0.8511 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.8299, allocations: 48.44 kB / 0.8512 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.8299, allocations: 43.97 kB / 0.8512 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001802/0.8317, allocations: 1.239 MB / 0.8524 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8317, allocations: 0 / 0.8524 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001878/0.8336, allocations: 0.6587 MB / 0.8531 GB, free: 7.578 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003848/0.8375, allocations: 2.373 MB / 0.8554 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.8392, allocations: 0.7766 MB / 0.8562 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8392, allocations: 0 / 0.8562 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007487/0.84, allocations: 336.4 kB / 0.8565 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/0.8451, allocations: 1.198 MB / 0.8577 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/0.8655, allocations: 12.64 MB / 0.87 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.8666, allocations: 1.405 MB / 0.8714 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00159/0.8682, allocations: 380.3 kB / 0.8717 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.8692, allocations: 0.7726 MB / 0.8725 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/0.8692, allocations: 0 / 0.8725 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.9806, allocations: 57.73 MB / 0.9289 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.76, allocations: 7.188 kB / 0.9289 GB, free: 9.883 MB / 0.7012 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.58469941400108] Failed to read output from testmodel.py, exit status != 0: 12.864125558990054 12.889295499 12.111947222 Calling exit ...