Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001637/0.001637, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001774/0.001774, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9023/0.9023, allocations: 133.9 MB / 443.5 MB, free: 13.83 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.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",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.001989/0.001989, allocations: 70.34 kB / 0.6141 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.175, allocations: 85.85 MB / 0.698 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04785/0.2228, allocations: 42.06 MB / 0.739 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.2394, allocations: 10.39 MB / 0.7492 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.242, allocations: 79.31 kB / 0.7493 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.244, allocations: 0.6755 MB / 0.7499 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.2498, allocations: 1.967 MB / 0.7518 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.2534, allocations: 1.192 MB / 0.753 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005894/0.2593, allocations: 3.398 MB / 0.7563 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.2613, allocations: 0.8724 MB / 0.7572 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.2652, allocations: 1.288 MB / 0.7584 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.2673, allocations: 0.9333 MB / 0.7593 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.2677, allocations: 100 kB / 0.7594 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.2706, allocations: 0.9202 MB / 0.7603 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.2711, allocations: 294.8 kB / 0.7606 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.2727, allocations: 0.626 MB / 0.7612 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.2777, allocations: 1.999 MB / 0.7632 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2777, allocations: 0 / 0.7632 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2777, allocations: 0 / 0.7632 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.088e-05/0.2777, allocations: 0 / 0.7632 GB, free: 11.92 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.00429/0.282, allocations: 1.56 MB / 0.7647 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.2821, allocations: 9.703 kB / 0.7647 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.51e-05/0.2821, allocations: 18.19 kB / 0.7647 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.2823, allocations: 114.7 kB / 0.7648 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005043/0.2828, allocations: 151.8 kB / 0.765 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.2849, allocations: 1.111 MB / 0.7661 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.285, allocations: 50 kB / 0.7661 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.2851, allocations: 72 kB / 0.7662 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2866, allocations: 0.7905 MB / 0.767 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2866, allocations: 3.938 kB / 0.767 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.2867, allocations: 32 kB / 0.767 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.2867, allocations: 16 kB / 0.767 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.2878, allocations: 0.5788 MB / 0.7676 GB, free: 7.285 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.004753/0.2926, allocations: 3.552 MB / 0.771 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.2932, allocations: 246.4 kB / 0.7713 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.2936, allocations: 168.7 kB / 0.7714 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/0.2942, allocations: 0.6492 MB / 0.7721 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.2942, allocations: 42.56 kB / 0.7721 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.2942, allocations: 0 / 0.7721 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001285/0.2955, allocations: 0.5177 MB / 0.7726 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.2956, allocations: 55.34 kB / 0.7727 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.2969, allocations: 0.9573 MB / 0.7736 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.2969, allocations: 29.7 kB / 0.7736 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.2974, allocations: 0.5043 MB / 0.7741 GB, free: 128 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.2975, allocations: 119 kB / 0.7742 GB, free: 8 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.2978, allocations: 118.2 kB / 0.7743 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2979, allocations: 322 kB / 0.7747 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.2983, allocations: 169 kB / 0.7748 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.2989, allocations: 350.9 kB / 0.7751 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009068/0.2998, allocations: 0.5147 MB / 0.7757 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2998, allocations: 0 / 0.7757 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001236/0.301, allocations: 0.6219 MB / 0.7763 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3011, allocations: 9.969 kB / 0.7763 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.3011, allocations: 12 kB / 0.7763 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.3011, allocations: 11.98 kB / 0.7763 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.3016, allocations: 123.8 kB / 0.7764 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.3016, allocations: 11.94 kB / 0.7764 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.3022, allocations: 87.44 kB / 0.7765 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.3023, allocations: 28.05 kB / 0.7765 GB, free: 13.49 MB / 0.5919 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.0004234/0.3027, allocations: 278.2 kB / 0.7768 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.3029, allocations: 107.3 kB / 0.7769 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.3039, allocations: 485.6 kB / 0.7774 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.3039, allocations: 7.938 kB / 0.7774 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3039, allocations: 0 / 0.7774 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007859/0.3047, allocations: 466 kB / 0.7778 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.3069, allocations: 1.366 MB / 0.7791 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3069, allocations: 3.938 kB / 0.7792 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.3073, allocations: 67.95 kB / 0.7792 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3073, allocations: 4 kB / 0.7792 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3073, allocations: 8 kB / 0.7792 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.3073, allocations: 7.938 kB / 0.7792 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3073, allocations: 4.156 kB / 0.7792 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.3087, allocations: 0.7676 MB / 0.78 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.309, allocations: 236.3 kB / 0.7802 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3091, allocations: 12 kB / 0.7802 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.3096, allocations: 27.95 kB / 0.7803 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.3097, allocations: 28.03 kB / 0.7803 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.3097, allocations: 19.98 kB / 0.7803 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008955/0.3106, allocations: 0.6666 MB / 0.7809 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3106, allocations: 0 / 0.7809 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001042/0.3117, allocations: 343.2 kB / 0.7813 GB, free: 8.469 MB / 0.5919 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.002247/0.3139, allocations: 1.57 MB / 0.7828 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009702/0.3149, allocations: 403.7 kB / 0.7832 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3149, allocations: 5.375 kB / 0.7832 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.3153, allocations: 176.6 kB / 0.7834 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.3179, allocations: 0.6061 MB / 0.784 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009974/0.3279, allocations: 6.849 MB / 0.7906 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.3286, allocations: 1.036 MB / 0.7917 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00075/0.3293, allocations: 206.3 kB / 0.7919 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.3298, allocations: 371.3 kB / 0.7922 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.3298, allocations: 0 / 0.7922 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/0.3944, allocations: 29.81 MB / 0.8213 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.49, allocations: 3.938 kB / 0.8213 GB, free: 15.57 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.474981811014004] Failed to read output from testmodel.py, exit status != 0: 10.942277884983923 10.654341788 10.37234332 Calling exit ...