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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.063/1.063, allocations: 175.8 MB / 478.4 MB, free: 8.488 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001935/0.001935, allocations: 66.61 kB / 0.6652 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1837, allocations: 94.54 MB / 0.7575 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3968/0.5805, allocations: 41.94 MB / 0.7985 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.5987, allocations: 10.41 MB / 0.8087 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.601, allocations: 55.97 kB / 0.8087 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.6033, allocations: 0.6718 MB / 0.8094 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006539/0.6098, allocations: 1.986 MB / 0.8113 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.6135, allocations: 1.189 MB / 0.8125 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006148/0.6197, allocations: 3.404 MB / 0.8158 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.6217, allocations: 0.8711 MB / 0.8166 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.6264, allocations: 1.432 MB / 0.818 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.6285, allocations: 0.918 MB / 0.8189 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.6288, allocations: 99.53 kB / 0.819 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.6318, allocations: 0.8824 MB / 0.8199 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.6323, allocations: 296.5 kB / 0.8202 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.6336, allocations: 0.627 MB / 0.8208 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.6381, allocations: 1.941 MB / 0.8227 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6381, allocations: 1.188 kB / 0.8227 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6381, allocations: 0 / 0.8227 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.6381, allocations: 4 kB / 0.8227 GB, free: 13.52 MB / 0.6231 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.003228/0.6414, allocations: 1.549 MB / 0.8242 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6414, allocations: 8.688 kB / 0.8242 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.6416, allocations: 115.5 kB / 0.8243 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.642, allocations: 137 kB / 0.8244 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.644, allocations: 1.125 MB / 0.8255 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.6441, allocations: 55.75 kB / 0.8256 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.6443, allocations: 78.92 kB / 0.8257 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6457, allocations: 0.7881 MB / 0.8264 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.6458, allocations: 1.188 kB / 0.8264 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.6458, allocations: 35.06 kB / 0.8265 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.6459, allocations: 18.94 kB / 0.8265 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.647, allocations: 0.5685 MB / 0.827 GB, free: 10.39 MB / 0.6231 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.005215/0.6522, allocations: 3.711 MB / 0.8307 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.6528, allocations: 250.1 kB / 0.8309 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.6532, allocations: 164.4 kB / 0.8311 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.6537, allocations: 0.6623 MB / 0.8317 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.6538, allocations: 39.42 kB / 0.8318 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.013e-06/0.6538, allocations: 0 / 0.8318 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.001316/0.6551, allocations: 0.5175 MB / 0.8323 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.6552, allocations: 59.67 kB / 0.8323 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.6565, allocations: 0.9448 MB / 0.8332 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.6565, allocations: 33.05 kB / 0.8333 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.657, allocations: 0.4969 MB / 0.8338 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6571, allocations: 126.2 kB / 0.8339 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.6573, allocations: 112.1 kB / 0.834 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6574, allocations: 327.2 kB / 0.8343 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.6578, allocations: 166 kB / 0.8345 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.6583, allocations: 351.1 kB / 0.8348 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/0.6592, allocations: 0.5097 MB / 0.8353 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6592, allocations: 1.094 kB / 0.8353 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001283/0.6605, allocations: 0.6235 MB / 0.8359 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.6605, allocations: 10.98 kB / 0.8359 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6605, allocations: 9.562 kB / 0.8359 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.6605, allocations: 8.031 kB / 0.8359 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.661, allocations: 125.7 kB / 0.836 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.661, allocations: 11.31 kB / 0.8361 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007586/0.6617, allocations: 92.03 kB / 0.8361 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.6618, allocations: 28.83 kB / 0.8362 GB, free: 2.973 MB / 0.6231 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.00044/0.6622, allocations: 277.5 kB / 0.8364 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.6624, allocations: 108.6 kB / 0.8365 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.6635, allocations: 481.9 kB / 0.837 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6635, allocations: 5.188 kB / 0.837 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6635, allocations: 3.938 kB / 0.837 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007701/0.6643, allocations: 454.5 kB / 0.8374 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.6668, allocations: 1.373 MB / 0.8388 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6668, allocations: 1.281 kB / 0.8388 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.6672, allocations: 76.2 kB / 0.8389 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.6672, allocations: 7.625 kB / 0.8389 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.6672, allocations: 8.25 kB / 0.8389 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.6672, allocations: 6.578 kB / 0.8389 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6672, allocations: 1.406 kB / 0.8389 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.6686, allocations: 0.7692 MB / 0.8396 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.6691, allocations: 232.8 kB / 0.8398 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.6692, allocations: 7.344 kB / 0.8399 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.6697, allocations: 30.38 kB / 0.8399 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.6698, allocations: 27.92 kB / 0.8399 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.6698, allocations: 20.77 kB / 0.8399 GB, free: 332 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009832/0.6708, allocations: 0.6608 MB / 0.8406 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6708, allocations: 0 / 0.8406 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001239/0.6721, allocations: 344.5 kB / 0.8409 GB, free: 15.85 MB / 0.6387 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.002552/0.6746, allocations: 1.596 MB / 0.8425 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009971/0.6756, allocations: 420.8 kB / 0.8429 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6756, allocations: 0 / 0.8429 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.676, allocations: 174.5 kB / 0.843 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.679, allocations: 0.6138 MB / 0.8436 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.69, allocations: 6.841 MB / 0.8503 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/0.6908, allocations: 1.04 MB / 0.8513 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009129/0.6917, allocations: 196.4 kB / 0.8515 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/0.6923, allocations: 371.3 kB / 0.8519 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.6923, allocations: 0 / 0.8519 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06838/0.7607, allocations: 29.86 MB / 0.881 GB, free: 9.047 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.79/10.55, allocations: 17 kB / 0.881 GB, free: 9.035 MB / 0.67 GB " [Timeout remaining time 649] (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: 14.404988820198923] Failed to read output from testmodel.py, exit status != 0: 10.643622973933816 10.675366499 10.031281957 Calling exit ...