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.0008234/0.0008234, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008875/0.0008875, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.917/0.917, allocations: 230.6 MB / 256 MB, free: 9.621 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.766/0.766, allocations: 203.8 MB / 0.5042 GB, free: 10 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.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: 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.000904/0.000904, allocations: 62.88 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.529, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05554/0.5845, allocations: 71.12 MB / 0.8873 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.6047, allocations: 17.6 MB / 0.9044 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.6072, allocations: 162.6 kB / 0.9046 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.6094, allocations: 1.238 MB / 0.9058 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0061/0.6155, allocations: 3.876 MB / 0.9096 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.6192, allocations: 2.189 MB / 0.9117 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006832/0.626, allocations: 6.817 MB / 0.9184 GB, free: 14.42 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.628, allocations: 1.584 MB / 0.9199 GB, free: 12.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.6321, allocations: 2.757 MB / 0.9226 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.6336, allocations: 1.761 MB / 0.9243 GB, free: 8.262 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.6338, allocations: 196 kB / 0.9245 GB, free: 8.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.6363, allocations: 1.333 MB / 0.9258 GB, free: 6.734 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.6366, allocations: 0.5641 MB / 0.9264 GB, free: 6.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006873/0.6373, allocations: 1.019 MB / 0.9274 GB, free: 5.145 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.6403, allocations: 3.798 MB / 0.9311 GB, free: 1.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6403, allocations: 0 / 0.9311 GB, free: 1.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6403, allocations: 0 / 0.9311 GB, free: 1.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.6403, allocations: 4 kB / 0.9311 GB, free: 1.332 MB / 0.698 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.002605/0.6429, allocations: 2.722 MB / 0.9338 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.6429, allocations: 8.031 kB / 0.9338 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.6431, allocations: 206.8 kB / 0.934 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.6436, allocations: 287.2 kB / 0.9342 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.6457, allocations: 1.971 MB / 0.9362 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.6457, allocations: 114.7 kB / 0.9363 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.6458, allocations: 140 kB / 0.9364 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.6474, allocations: 1.821 MB / 0.9382 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.6474, allocations: 7.891 kB / 0.9382 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.6475, allocations: 60 kB / 0.9382 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.6476, allocations: 36 kB / 0.9383 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.6489, allocations: 1.122 MB / 0.9394 GB, free: 8.594 MB / 0.7136 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.004197/0.6531, allocations: 5.332 MB / 0.9446 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.6537, allocations: 452.9 kB / 0.945 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.654, allocations: 306.2 kB / 0.9453 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.6543, allocations: 112.4 kB / 0.9454 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.6543, allocations: 39.06 kB / 0.9454 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 1.523e-06/0.6543, allocations: 0 / 0.9454 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.00145/0.6557, allocations: 0.9722 MB / 0.9464 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.6558, allocations: 59.91 kB / 0.9465 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.6571, allocations: 1.819 MB / 0.9482 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.6572, allocations: 41.7 kB / 0.9483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.6577, allocations: 0.9568 MB / 0.9492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.6578, allocations: 222.1 kB / 0.9494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.658, allocations: 226.8 kB / 0.9496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.658, allocations: 353.9 kB / 0.95 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.6584, allocations: 334.4 kB / 0.9503 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.6591, allocations: 0.9621 MB / 0.9512 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009161/0.66, allocations: 1.02 MB / 0.9522 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.66, allocations: 4 kB / 0.9522 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001527/0.6615, allocations: 1.226 MB / 0.9534 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6615, allocations: 8 kB / 0.9534 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6616, allocations: 12 kB / 0.9534 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.6616, allocations: 20.73 kB / 0.9535 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.6621, allocations: 291.6 kB / 0.9537 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.6621, allocations: 23.88 kB / 0.9538 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.6626, allocations: 166.9 kB / 0.9539 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.6627, allocations: 51.98 kB / 0.954 GB, free: 9.02 MB / 0.7292 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.0003783/0.6631, allocations: 449.3 kB / 0.9544 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.6632, allocations: 206.7 kB / 0.9546 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009901/0.6642, allocations: 0.8754 MB / 0.9555 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.6642, allocations: 8 kB / 0.9555 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6642, allocations: 3.938 kB / 0.9555 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007552/0.665, allocations: 0.8056 MB / 0.9563 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.6671, allocations: 2.235 MB / 0.9584 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6671, allocations: 0 / 0.9584 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.6675, allocations: 188 kB / 0.9586 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6675, allocations: 4 kB / 0.9586 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.6675, allocations: 16 kB / 0.9586 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6675, allocations: 7.984 kB / 0.9586 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6675, allocations: 0 / 0.9586 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.6692, allocations: 1.367 MB / 0.96 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.6695, allocations: 298.4 kB / 0.9603 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.6696, allocations: 16 kB / 0.9603 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.6701, allocations: 67.86 kB / 0.9603 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.6701, allocations: 56.34 kB / 0.9604 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.6702, allocations: 39.97 kB / 0.9604 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001043/0.6712, allocations: 1.251 MB / 0.9617 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.6712, allocations: 0 / 0.9617 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009679/0.6722, allocations: 0.6665 MB / 0.9623 GB, free: 288 kB / 0.7292 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.002143/0.6743, allocations: 2.393 MB / 0.9646 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009254/0.6753, allocations: 0.7806 MB / 0.9654 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6753, allocations: 4 kB / 0.9654 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.6757, allocations: 336.1 kB / 0.9657 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.6781, allocations: 1.194 MB / 0.9669 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6896, allocations: 12.69 MB / 0.9793 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.6901, allocations: 0.8359 MB / 0.9801 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007653/0.6909, allocations: 385.4 kB / 0.9805 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/0.6918, allocations: 0.7609 MB / 0.9812 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of SimCode: time 6.51e-07/0.6918, allocations: 0 / 0.9812 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06359/0.7554, allocations: 63.13 MB / 1.043 GB, free: 13.93 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.559, allocations: 5.516 kB / 1.043 GB, free: 13.93 MB / 0.823 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 12.447733332868665] Failed to read output from testmodel.py, exit status != 0: 9.66589459311217 9.6743369 9.032109611 Calling exit ...