Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008479/0.0008479, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008956/0.0008956, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9435/0.9435, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7114/0.7114, allocations: 154.6 MB / 413.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.553e-05, allocations: 8.516 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0262/0.02623, allocations: 38.15 MB / 0.6553 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.03739, allocations: 9.697 MB / 0.6648 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.03852, allocations: 79.31 kB / 0.6649 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.03977, allocations: 0.6519 MB / 0.6655 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.04327, allocations: 2.059 MB / 0.6675 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.04546, allocations: 1.289 MB / 0.6688 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003406/0.04886, allocations: 3.483 MB / 0.6722 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.05001, allocations: 0.8067 MB / 0.673 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.05258, allocations: 1.896 MB / 0.6748 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008012/0.05338, allocations: 0.7787 MB / 0.6756 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.05349, allocations: 100 kB / 0.6757 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.05475, allocations: 0.7208 MB / 0.6764 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.05494, allocations: 306.7 kB / 0.6767 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.05555, allocations: 442.9 kB / 0.6771 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3025/0.3581, allocations: 1.959 MB / 0.679 GB, free: 51.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3581, allocations: 0 / 0.679 GB, free: 51.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3581, allocations: 0 / 0.679 GB, free: 51.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.252e-05/0.3581, allocations: 0 / 0.679 GB, free: 51.6 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.00167/0.3598, allocations: 1.474 MB / 0.6804 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3598, allocations: 13.03 kB / 0.6804 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.719e-05/0.3599, allocations: 114.3 kB / 0.6806 GB, free: 50.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.3601, allocations: 141.8 kB / 0.6807 GB, free: 50.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3611, allocations: 1.056 MB / 0.6817 GB, free: 50.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3612, allocations: 58.86 kB / 0.6818 GB, free: 50.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.3612, allocations: 72 kB / 0.6818 GB, free: 50.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.362, allocations: 0.9465 MB / 0.6828 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.362, allocations: 3.594 kB / 0.6828 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.3621, allocations: 26.94 kB / 0.6828 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.3621, allocations: 27.52 kB / 0.6828 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.3627, allocations: 0.5665 MB / 0.6834 GB, free: 50.21 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.00189/0.3646, allocations: 2.737 MB / 0.6861 GB, free: 49.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.365, allocations: 242.8 kB / 0.6863 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.3651, allocations: 167.2 kB / 0.6864 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.3653, allocations: 66.72 kB / 0.6865 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.3653, allocations: 37.31 kB / 0.6865 GB, free: 49.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.3653, allocations: 1.812 kB / 0.6865 GB, free: 49.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.0006324/0.3659, allocations: 0.5203 MB / 0.6871 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.3659, allocations: 54.28 kB / 0.6871 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.3666, allocations: 0.9651 MB / 0.688 GB, free: 48.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3666, allocations: 32.42 kB / 0.6881 GB, free: 48.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.3669, allocations: 0.4996 MB / 0.6886 GB, free: 48.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.3669, allocations: 119.8 kB / 0.6887 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.367, allocations: 116.3 kB / 0.6888 GB, free: 48.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.3671, allocations: 325.6 kB / 0.6891 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.3673, allocations: 167.6 kB / 0.6893 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.3676, allocations: 0.4947 MB / 0.6897 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.368, allocations: 0.5129 MB / 0.6902 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.368, allocations: 4 kB / 0.6902 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006421/0.3687, allocations: 0.6234 MB / 0.6909 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3687, allocations: 6.031 kB / 0.6909 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3687, allocations: 8.156 kB / 0.6909 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3687, allocations: 9.25 kB / 0.6909 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.369, allocations: 123.2 kB / 0.691 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.369, allocations: 12.58 kB / 0.691 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3693, allocations: 90.83 kB / 0.6911 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3693, allocations: 26.97 kB / 0.6911 GB, free: 47.35 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.0002211/0.3695, allocations: 275.6 kB / 0.6914 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.3696, allocations: 108.4 kB / 0.6915 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.3701, allocations: 0.4912 MB / 0.692 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3701, allocations: 2.625 kB / 0.692 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3701, allocations: 0 / 0.692 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003586/0.3705, allocations: 455.8 kB / 0.6924 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3715, allocations: 1.237 MB / 0.6936 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3716, allocations: 7.703 kB / 0.6936 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.3717, allocations: 77.5 kB / 0.6937 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3717, allocations: 2.5 kB / 0.6937 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3717, allocations: 6.406 kB / 0.6937 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3718, allocations: 10.17 kB / 0.6937 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3718, allocations: 4.156 kB / 0.6937 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.3725, allocations: 0.7731 MB / 0.6945 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.3726, allocations: 153.1 kB / 0.6946 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.3727, allocations: 6.125 kB / 0.6946 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3729, allocations: 38.25 kB / 0.6947 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.373, allocations: 28.78 kB / 0.6947 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.373, allocations: 23.86 kB / 0.6947 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004712/0.3735, allocations: 0.6644 MB / 0.6954 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3735, allocations: 0 / 0.6954 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005455/0.374, allocations: 344.5 kB / 0.6957 GB, free: 46.15 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.001149/0.3752, allocations: 1.603 MB / 0.6973 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.3756, allocations: 408.6 kB / 0.6976 GB, free: 45.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3756, allocations: 384 / 0.6976 GB, free: 45.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3758, allocations: 180.1 kB / 0.6978 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.3771, allocations: 0.602 MB / 0.6984 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.3827, allocations: 6.83 MB / 0.7051 GB, free: 42.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.383, allocations: 462.3 kB / 0.7055 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00041/0.3834, allocations: 203.9 kB / 0.7057 GB, free: 42.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.3837, allocations: 369.3 kB / 0.7061 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.3837, allocations: 1.969 kB / 0.7061 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/0.4329, allocations: 32.76 MB / 0.7381 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.781, allocations: 5.453 kB / 0.7381 GB, free: 37.7 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.682135725393891] Failed to read output from testmodel.py, exit status != 0: 8.878388492390513 8.890020959 8.530114575 Calling exit ...