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.0008504/0.0008504, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008424/0.0008424, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8824/0.8824, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6966/0.6966, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.77e-05, allocations: 4.953 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02448/0.0245, allocations: 38.18 MB / 0.6566 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009466/0.03397, allocations: 9.693 MB / 0.6661 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008932/0.03486, allocations: 83.31 kB / 0.6662 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.03593, allocations: 0.6401 MB / 0.6668 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.03876, allocations: 2.059 MB / 0.6688 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.04039, allocations: 1.285 MB / 0.6701 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.04273, allocations: 3.479 MB / 0.6735 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.04346, allocations: 0.8183 MB / 0.6743 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.04574, allocations: 1.886 MB / 0.6761 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.04641, allocations: 0.7865 MB / 0.6769 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.705e-05/0.0465, allocations: 100 kB / 0.677 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009257/0.04743, allocations: 0.7247 MB / 0.6777 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.04762, allocations: 302.7 kB / 0.678 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.04794, allocations: 435 kB / 0.6784 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3257/0.3736, allocations: 1.959 MB / 0.6803 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3736, allocations: 0 / 0.6803 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3736, allocations: 0 / 0.6803 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.3736, allocations: 0 / 0.6803 GB, free: 51.58 MB / 0.6355 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.001407/0.375, allocations: 1.472 MB / 0.6817 GB, free: 50.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3751, allocations: 12.22 kB / 0.6817 GB, free: 50.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.3753, allocations: 147.3 kB / 0.6819 GB, free: 50.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/0.3763, allocations: 1.055 MB / 0.6829 GB, free: 50.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.3763, allocations: 56.31 kB / 0.683 GB, free: 50.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.3764, allocations: 70.41 kB / 0.683 GB, free: 50.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.3771, allocations: 0.9462 MB / 0.6839 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.3771, allocations: 0.8125 kB / 0.684 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.3772, allocations: 29.81 kB / 0.684 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.3772, allocations: 26.69 kB / 0.684 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/0.3778, allocations: 0.5667 MB / 0.6846 GB, free: 50.17 MB / 0.6355 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.001809/0.3796, allocations: 2.602 MB / 0.6871 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.3799, allocations: 243.5 kB / 0.6873 GB, free: 49.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3801, allocations: 160.8 kB / 0.6875 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.3802, allocations: 64.47 kB / 0.6875 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3802, allocations: 46.33 kB / 0.6876 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.3802, allocations: 0 / 0.6876 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.0006142/0.3809, allocations: 0.5019 MB / 0.6881 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.3809, allocations: 60.19 kB / 0.6881 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.3814, allocations: 0.8089 MB / 0.6889 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3814, allocations: 35.2 kB / 0.689 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3816, allocations: 0.5119 MB / 0.6895 GB, free: 48.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.3817, allocations: 118.3 kB / 0.6896 GB, free: 48.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.3818, allocations: 114.9 kB / 0.6897 GB, free: 48.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.3818, allocations: 327.2 kB / 0.69 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.382, allocations: 164.9 kB / 0.6902 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.3823, allocations: 0.4941 MB / 0.6906 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.3827, allocations: 0.5102 MB / 0.6911 GB, free: 47.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3827, allocations: 2.875 kB / 0.6911 GB, free: 47.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005883/0.3833, allocations: 0.6122 MB / 0.6917 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3833, allocations: 9.75 kB / 0.6917 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3833, allocations: 9.141 kB / 0.6918 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3833, allocations: 8.625 kB / 0.6918 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3835, allocations: 122 kB / 0.6919 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.3836, allocations: 14.56 kB / 0.6919 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3838, allocations: 71.94 kB / 0.692 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3838, allocations: 31.23 kB / 0.692 GB, free: 47.39 MB / 0.6355 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.0001918/0.384, allocations: 273.7 kB / 0.6922 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.3841, allocations: 91.06 kB / 0.6923 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.3846, allocations: 487 kB / 0.6928 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3846, allocations: 10.38 kB / 0.6928 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3846, allocations: 3.375 kB / 0.6928 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003617/0.385, allocations: 458.3 kB / 0.6933 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.386, allocations: 1.161 MB / 0.6944 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.386, allocations: 0 / 0.6944 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3861, allocations: 77.64 kB / 0.6945 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3861, allocations: 2.531 kB / 0.6945 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3862, allocations: 12.27 kB / 0.6945 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3862, allocations: 2.688 kB / 0.6945 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3862, allocations: 2.844 kB / 0.6945 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.3868, allocations: 0.7629 MB / 0.6952 GB, free: 46.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.387, allocations: 134.6 kB / 0.6954 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.387, allocations: 10.72 kB / 0.6954 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3872, allocations: 31.03 kB / 0.6954 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.3873, allocations: 30.78 kB / 0.6954 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3873, allocations: 23.55 kB / 0.6954 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003692/0.3876, allocations: 0.5513 MB / 0.696 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3876, allocations: 0 / 0.696 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005103/0.3882, allocations: 362.8 kB / 0.6963 GB, free: 46.25 MB / 0.6355 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.0003956/0.3885, allocations: 390.8 kB / 0.6967 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.389, allocations: 405.2 kB / 0.6971 GB, free: 46.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.389, allocations: 0 / 0.6971 GB, free: 46.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3892, allocations: 173.1 kB / 0.6973 GB, free: 46.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3902, allocations: 477.3 kB / 0.6977 GB, free: 46.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3915, allocations: 1.575 MB / 0.6992 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3918, allocations: 448.5 kB / 0.6997 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3919, allocations: 78.98 kB / 0.6997 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.3919, allocations: 0 / 0.6997 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.01584/0.4078, allocations: 17 MB / 0.7163 GB, free: 43.14 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.606632811017334] Failed to read output from testmodel.py, exit status != 0: 0.4136519907042384 0.421734158 0.046401623 Calling exit ...