Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008227/0.0008227, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008612/0.0008612, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8979/0.8979, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.724/0.724, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.451e-05, allocations: 9.172 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3824/0.3825, allocations: 70.5 MB / 0.6869 GB, free: 44.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.4021, allocations: 17.62 MB / 0.7041 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004018/0.4061, allocations: 157.7 kB / 0.7043 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.4095, allocations: 1.252 MB / 0.7055 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009136/0.4187, allocations: 3.984 MB / 0.7094 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005017/0.4237, allocations: 2.277 MB / 0.7116 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007891/0.4316, allocations: 6.873 MB / 0.7183 GB, free: 38.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/0.4344, allocations: 1.595 MB / 0.7199 GB, free: 37.42 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008057/0.4425, allocations: 3.567 MB / 0.7234 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.4458, allocations: 1.565 MB / 0.7249 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.4464, allocations: 198.5 kB / 0.7251 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.4503, allocations: 1.353 MB / 0.7264 GB, free: 35.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008998/0.4512, allocations: 0.5808 MB / 0.727 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.4536, allocations: 0.8582 MB / 0.7278 GB, free: 34.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008756/0.4623, allocations: 3.805 MB / 0.7315 GB, free: 33.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4623, allocations: 1.344 kB / 0.7315 GB, free: 33.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4623, allocations: 0 / 0.7315 GB, free: 33.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001539/0.4625, allocations: 0 / 0.7315 GB, free: 33.47 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006664/0.4691, allocations: 2.694 MB / 0.7342 GB, free: 31.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.4692, allocations: 11.19 kB / 0.7342 GB, free: 31.83 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003039/0.4695, allocations: 203.2 kB / 0.7344 GB, free: 31.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000917/0.4704, allocations: 282.4 kB / 0.7346 GB, free: 31.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/0.4745, allocations: 1.969 MB / 0.7366 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.4746, allocations: 105.8 kB / 0.7367 GB, free: 30.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.4748, allocations: 146.8 kB / 0.7368 GB, free: 30.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.4775, allocations: 1.82 MB / 0.7386 GB, free: 29.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.4776, allocations: 4.656 kB / 0.7386 GB, free: 29.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.4777, allocations: 58.36 kB / 0.7386 GB, free: 29.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.4777, allocations: 37.89 kB / 0.7387 GB, free: 29.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.4797, allocations: 1.122 MB / 0.7398 GB, free: 28.99 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.008828/0.4885, allocations: 5.338 MB / 0.745 GB, free: 25.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.4893, allocations: 450.4 kB / 0.7454 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.4898, allocations: 307.4 kB / 0.7457 GB, free: 25.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.4901, allocations: 106.7 kB / 0.7458 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4901, allocations: 40.09 kB / 0.7458 GB, free: 25.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 4.038e-06/0.4901, allocations: 0 / 0.7458 GB, free: 25.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.002045/0.4921, allocations: 0.9747 MB / 0.7468 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.4922, allocations: 59.3 kB / 0.7469 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.4954, allocations: 1.824 MB / 0.7486 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.4957, allocations: 42.95 kB / 0.7487 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/0.4963, allocations: 0.9409 MB / 0.7496 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.4966, allocations: 226.2 kB / 0.7498 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.4969, allocations: 228.7 kB / 0.75 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.497, allocations: 348.3 kB / 0.7504 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.4976, allocations: 330 kB / 0.7507 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008742/0.4984, allocations: 0.9679 MB / 0.7516 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4997, allocations: 1.012 MB / 0.7526 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.4997, allocations: 7.469 kB / 0.7526 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002434/0.5022, allocations: 1.232 MB / 0.7538 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.5022, allocations: 9.938 kB / 0.7538 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.5022, allocations: 9.531 kB / 0.7538 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.153e-05/0.5023, allocations: 16.78 kB / 0.7539 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.5029, allocations: 289.8 kB / 0.7541 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.243e-05/0.503, allocations: 23.92 kB / 0.7542 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.5045, allocations: 164.1 kB / 0.7543 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/0.5046, allocations: 53.16 kB / 0.7544 GB, free: 20.51 MB / 0.6355 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.0007995/0.5054, allocations: 449 kB / 0.7548 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.5058, allocations: 209.3 kB / 0.755 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.5073, allocations: 0.8736 MB / 0.7558 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.5073, allocations: 7.469 kB / 0.7558 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5073, allocations: 1.812 kB / 0.7558 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008914/0.5082, allocations: 0.8121 MB / 0.7566 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/0.5125, allocations: 2.233 MB / 0.7588 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5125, allocations: 1.781 kB / 0.7588 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.513, allocations: 184.1 kB / 0.759 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.513, allocations: 5.281 kB / 0.759 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.513, allocations: 22.75 kB / 0.759 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.513, allocations: 9.359 kB / 0.759 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.513, allocations: 2.781 kB / 0.759 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.5152, allocations: 1.35 MB / 0.7604 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.5162, allocations: 305.5 kB / 0.7606 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.5166, allocations: 16.94 kB / 0.7607 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/0.5173, allocations: 65.98 kB / 0.7607 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5175, allocations: 55.28 kB / 0.7608 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.5175, allocations: 36.44 kB / 0.7608 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001888/0.5194, allocations: 1.251 MB / 0.762 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5194, allocations: 0 / 0.762 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002718/0.5221, allocations: 0.6609 MB / 0.7627 GB, free: 16.73 MB / 0.6355 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.003474/0.5256, allocations: 2.409 MB / 0.765 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.527, allocations: 0.7922 MB / 0.7658 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.527, allocations: 0 / 0.7658 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.5274, allocations: 342.1 kB / 0.7661 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/0.5318, allocations: 1.194 MB / 0.7673 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.5514, allocations: 12.64 MB / 0.7796 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.5521, allocations: 0.8371 MB / 0.7805 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001631/0.5537, allocations: 379.1 kB / 0.7808 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/0.5546, allocations: 0.7679 MB / 0.7816 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of SimCode: time 1.974e-06/0.5546, allocations: 0 / 0.7816 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/0.6434, allocations: 63.12 MB / 0.8432 GB, free: 11.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.457/10.1, allocations: 7.875 kB / 0.8432 GB, free: 11.71 MB / 0.698 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.006516819819808] Failed to read output from testmodel.py, exit status != 0: 10.212790098041296 10.22337719 9.758982081 Calling exit ...