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.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.001219/0.001219, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001257/0.001257, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.355 MB / 190.1 MB " [Timeout remaining time 179] 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.002/1.002, allocations: 175.7 MB / 480.1 MB, free: 2.883 MB / 366.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.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 0.001787/0.001787, allocations: 68.61 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1519, allocations: 94.53 MB / 0.7601 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07711/0.229, allocations: 78.57 MB / 0.8368 GB, free: 2.031 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.3471/0.5761, allocations: 18.96 MB / 0.8553 GB, free: 3.207 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.5792, allocations: 108.9 kB / 0.8554 GB, free: 3.207 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.002724/0.5819, allocations: 1.301 MB / 0.8567 GB, free: 3.191 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.008969/0.5909, allocations: 3.821 MB / 0.8604 GB, free: 3.047 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.005091/0.596, allocations: 2.124 MB / 0.8625 GB, free: 2.969 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.008274/0.6043, allocations: 6.715 MB / 0.8691 GB, free: 2.73 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.6064, allocations: 1.595 MB / 0.8706 GB, free: 2.539 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005194/0.6116, allocations: 2.677 MB / 0.8732 GB, free: 1.977 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.6142, allocations: 1.839 MB / 0.875 GB, free: 1.305 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.6145, allocations: 198.9 kB / 0.8752 GB, free: 1.305 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.6184, allocations: 1.66 MB / 0.8768 GB, free: 0.7734 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.6188, allocations: 0.5631 MB / 0.8774 GB, free: 440 kB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.6204, allocations: 1.284 MB / 0.8786 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.6259, allocations: 3.749 MB / 0.8823 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6259, allocations: 0 / 0.8823 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6259, allocations: 0 / 0.8823 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.289e-05/0.6259, allocations: 0 / 0.8823 GB, free: 14.51 MB / 0.6544 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.004286/0.6302, allocations: 2.787 MB / 0.885 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6302, allocations: 8.812 kB / 0.885 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/0.6305, allocations: 207.2 kB / 0.8852 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.6311, allocations: 281 kB / 0.8855 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.634, allocations: 2.04 MB / 0.8875 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.6341, allocations: 104.8 kB / 0.8876 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.6343, allocations: 140.2 kB / 0.8877 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.6366, allocations: 1.525 MB / 0.8892 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.6366, allocations: 9.516 kB / 0.8892 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.6367, allocations: 58.16 kB / 0.8893 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.6368, allocations: 42.2 kB / 0.8893 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.6388, allocations: 1.132 MB / 0.8904 GB, free: 10.16 MB / 0.6544 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.008088/0.6469, allocations: 7.922 MB / 0.8982 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.6477, allocations: 459.5 kB / 0.8986 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.6483, allocations: 307.9 kB / 0.8989 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009496/0.6492, allocations: 1.153 MB / 0.9 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.6493, allocations: 40.59 kB / 0.9001 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 1.983e-06/0.6493, allocations: 0 / 0.9001 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.002054/0.6513, allocations: 0.9755 MB / 0.901 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.6514, allocations: 58.09 kB / 0.9011 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.6534, allocations: 1.785 MB / 0.9028 GB, free: 15.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.6534, allocations: 43.52 kB / 0.9029 GB, free: 15.78 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008061/0.6542, allocations: 0.9455 MB / 0.9038 GB, free: 14.95 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.6545, allocations: 229.8 kB / 0.904 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.6547, allocations: 228.6 kB / 0.9042 GB, free: 14.62 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6549, allocations: 351.1 kB / 0.9045 GB, free: 14.28 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.6555, allocations: 330.1 kB / 0.9049 GB, free: 14.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.6565, allocations: 0.6918 MB / 0.9055 GB, free: 13.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.658, allocations: 1.012 MB / 0.9065 GB, free: 12.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.658, allocations: 2.469 kB / 0.9065 GB, free: 12.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002108/0.6601, allocations: 1.23 MB / 0.9077 GB, free: 12.13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6601, allocations: 10.56 kB / 0.9077 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6602, allocations: 9.375 kB / 0.9077 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.6602, allocations: 15.03 kB / 0.9078 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.6611, allocations: 302 kB / 0.9081 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.6611, allocations: 17.5 kB / 0.9081 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6624, allocations: 166.2 kB / 0.9082 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.6625, allocations: 56.05 kB / 0.9083 GB, free: 11.91 MB / 0.67 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.0006099/0.6631, allocations: 431.6 kB / 0.9087 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.6634, allocations: 208.2 kB / 0.9089 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.665, allocations: 0.867 MB / 0.9097 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.665, allocations: 5.344 kB / 0.9097 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6651, allocations: 0 / 0.9097 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/0.6663, allocations: 0.788 MB / 0.9105 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.67, allocations: 2.455 MB / 0.9129 GB, free: 8.777 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.67, allocations: 2.562 kB / 0.9129 GB, free: 8.777 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.6708, allocations: 185.2 kB / 0.9131 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6708, allocations: 5.812 kB / 0.9131 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.6708, allocations: 13.53 kB / 0.9131 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6708, allocations: 4.875 kB / 0.9131 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6708, allocations: 8.375 kB / 0.9131 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.673, allocations: 1.341 MB / 0.9144 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.6736, allocations: 376.3 kB / 0.9148 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.6738, allocations: 17.03 kB / 0.9148 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/0.6747, allocations: 76.91 kB / 0.9149 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.6748, allocations: 48.16 kB / 0.9149 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.6749, allocations: 47.25 kB / 0.915 GB, free: 7.488 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001435/0.6763, allocations: 1.244 MB / 0.9162 GB, free: 6.797 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6763, allocations: 0 / 0.9162 GB, free: 6.797 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001546/0.6779, allocations: 0.656 MB / 0.9168 GB, free: 6.637 MB / 0.67 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.003287/0.6812, allocations: 2.403 MB / 0.9192 GB, free: 5.121 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.6827, allocations: 0.783 MB / 0.9199 GB, free: 4.469 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6827, allocations: 8.062 kB / 0.9199 GB, free: 4.461 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006748/0.6834, allocations: 326.9 kB / 0.9203 GB, free: 4.137 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/0.6879, allocations: 1.208 MB / 0.9214 GB, free: 2.949 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.7051, allocations: 12.62 MB / 0.9338 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009973/0.7061, allocations: 1.413 MB / 0.9351 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00122/0.7073, allocations: 375.6 kB / 0.9355 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009386/0.7082, allocations: 0.7687 MB / 0.9362 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of SimCode: time 6.62e-07/0.7082, allocations: 0 / 0.9362 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09874/0.807, allocations: 57.89 MB / 0.9928 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.39, allocations: 5.188 kB / 0.9928 GB, free: 10.01 MB / 0.7481 GB " [Timeout remaining time 649] (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 --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: 14.909800389999873]