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.0007805/0.0007805, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008008/0.0008008, allocations: 216.5 kB / 22.25 MB, free: 3.727 MB / 13.93 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.9545/0.9545, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7685/0.7685, allocations: 203.8 MB / 0.5042 GB, free: 10.38 MB / 410.7 MB " [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: 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.001085/0.001085, allocations: 71.05 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5336, allocations: 102 MB / 0.8178 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02943/0.563, allocations: 38.47 MB / 0.8554 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.5744, allocations: 9.669 MB / 0.8648 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.5758, allocations: 84.78 kB / 0.8649 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5771, allocations: 0.6333 MB / 0.8655 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.5805, allocations: 2.011 MB / 0.8675 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.5827, allocations: 1.244 MB / 0.8687 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003322/0.586, allocations: 3.458 MB / 0.8721 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008854/0.5869, allocations: 0.8101 MB / 0.8729 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.5897, allocations: 1.483 MB / 0.8743 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.5908, allocations: 0.8756 MB / 0.8752 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5909, allocations: 103.8 kB / 0.8753 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.5923, allocations: 0.7123 MB / 0.876 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.5925, allocations: 299.8 kB / 0.8762 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000442/0.593, allocations: 0.5028 MB / 0.8767 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.5951, allocations: 1.961 MB / 0.8787 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5952, allocations: 5.156 kB / 0.8787 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5952, allocations: 0 / 0.8787 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.5952, allocations: 0 / 0.8787 GB, free: 5.262 MB / 0.6511 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.001787/0.597, allocations: 1.481 MB / 0.8801 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.597, allocations: 9.688 kB / 0.8801 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.5971, allocations: 114.7 kB / 0.8802 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.5974, allocations: 145.7 kB / 0.8804 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.5988, allocations: 1.056 MB / 0.8814 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.5989, allocations: 56.53 kB / 0.8814 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.599, allocations: 80.08 kB / 0.8815 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.6, allocations: 0.9402 MB / 0.8824 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6, allocations: 1.188 kB / 0.8824 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.6001, allocations: 26.66 kB / 0.8825 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.6001, allocations: 23.16 kB / 0.8825 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.6008, allocations: 0.5706 MB / 0.883 GB, free: 2.109 MB / 0.6511 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.002573/0.6034, allocations: 2.742 MB / 0.8857 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.6038, allocations: 242.4 kB / 0.886 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.604, allocations: 168.7 kB / 0.8861 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.6041, allocations: 59.95 kB / 0.8862 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.6041, allocations: 42.55 kB / 0.8862 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.6042, allocations: 0 / 0.8862 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0006861/0.6048, allocations: 0.5213 MB / 0.8867 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.6049, allocations: 59.34 kB / 0.8868 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.6056, allocations: 0.9615 MB / 0.8877 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.6056, allocations: 33.7 kB / 0.8877 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.6062, allocations: 0.5043 MB / 0.8882 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.6062, allocations: 119 kB / 0.8884 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.6063, allocations: 110.3 kB / 0.8885 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.6064, allocations: 337.8 kB / 0.8888 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.6066, allocations: 161.2 kB / 0.8889 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.6069, allocations: 0.4904 MB / 0.8894 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.6074, allocations: 0.5121 MB / 0.8899 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6074, allocations: 4 kB / 0.8899 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006341/0.608, allocations: 0.6252 MB / 0.8905 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.608, allocations: 4 kB / 0.8905 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.608, allocations: 12.62 kB / 0.8905 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6081, allocations: 11.98 kB / 0.8906 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.6083, allocations: 123.8 kB / 0.8907 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.6083, allocations: 11.94 kB / 0.8907 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.6086, allocations: 83.44 kB / 0.8908 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.6086, allocations: 31.92 kB / 0.8908 GB, free: 10.22 MB / 0.6667 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.0002267/0.6089, allocations: 274.7 kB / 0.8911 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.609, allocations: 107.3 kB / 0.8912 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.6095, allocations: 484.2 kB / 0.8916 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6095, allocations: 8 kB / 0.8916 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6095, allocations: 0 / 0.8916 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004049/0.6099, allocations: 465.2 kB / 0.8921 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.6111, allocations: 1.249 MB / 0.8933 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6111, allocations: 4 kB / 0.8933 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.6113, allocations: 75.88 kB / 0.8934 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.6113, allocations: 4.156 kB / 0.8934 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.6113, allocations: 15.94 kB / 0.8934 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6113, allocations: 0 / 0.8934 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6113, allocations: 4 kB / 0.8934 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/0.6121, allocations: 0.7723 MB / 0.8941 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.6123, allocations: 163.2 kB / 0.8943 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.6124, allocations: 12 kB / 0.8943 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.6126, allocations: 35.89 kB / 0.8943 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.6127, allocations: 23.95 kB / 0.8944 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.6127, allocations: 19.98 kB / 0.8944 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007913/0.6135, allocations: 0.6668 MB / 0.895 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.6135, allocations: 0 / 0.895 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006438/0.6141, allocations: 343.3 kB / 0.8954 GB, free: 5.395 MB / 0.6667 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.001257/0.6154, allocations: 1.584 MB / 0.8969 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000499/0.6159, allocations: 408.5 kB / 0.8973 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.6159, allocations: 4 kB / 0.8973 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.6161, allocations: 176.2 kB / 0.8975 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.6175, allocations: 0.6093 MB / 0.8981 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/0.6236, allocations: 6.878 MB / 0.9048 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.6239, allocations: 453.3 kB / 0.9052 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.6243, allocations: 199.9 kB / 0.9054 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.6247, allocations: 371.3 kB / 0.9058 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.6247, allocations: 0 / 0.9058 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.6667, allocations: 32.69 MB / 0.9377 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.401, allocations: 11.83 kB / 0.9377 GB, free: 10.21 MB / 0.7136 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.34072167892009] Failed to read output from testmodel.py, exit status != 0: 8.494948109146208 8.508402056 7.910898556 Calling exit ...