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.001182/0.001182, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001174/0.001174, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.172 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 0.9795/0.9795, allocations: 175.7 MB / 480.1 MB, free: 2.77 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.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.001772/0.001772, allocations: 72.83 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 94.53 MB / 0.7601 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04249/0.1934, allocations: 42.34 MB / 0.8014 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.2078, allocations: 10.46 MB / 0.8116 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.2089, allocations: 55.69 kB / 0.8117 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.2104, allocations: 0.6794 MB / 0.8124 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.2143, allocations: 1.971 MB / 0.8143 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.2167, allocations: 1.204 MB / 0.8155 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003812/0.2205, allocations: 3.414 MB / 0.8188 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.2216, allocations: 0.8139 MB / 0.8196 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.2244, allocations: 1.435 MB / 0.821 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.2256, allocations: 0.9217 MB / 0.8219 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.2257, allocations: 100 kB / 0.822 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.2275, allocations: 0.8774 MB / 0.8228 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.2278, allocations: 294.7 kB / 0.8231 GB, free: 28 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000676/0.2285, allocations: 0.6377 MB / 0.8237 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.2309, allocations: 1.938 MB / 0.8256 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2309, allocations: 4 kB / 0.8256 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2309, allocations: 4 kB / 0.8256 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.2309, allocations: 0 / 0.8256 GB, free: 13.43 MB / 0.6387 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.002369/0.2333, allocations: 1.544 MB / 0.8271 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2333, allocations: 12.03 kB / 0.8272 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.2335, allocations: 114.7 kB / 0.8273 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.2338, allocations: 144.1 kB / 0.8274 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.2354, allocations: 1.111 MB / 0.8285 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.2355, allocations: 58 kB / 0.8285 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2356, allocations: 72 kB / 0.8286 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.2369, allocations: 0.7866 MB / 0.8294 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.2369, allocations: 3.938 kB / 0.8294 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.237, allocations: 35.98 kB / 0.8294 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.237, allocations: 20 kB / 0.8294 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.2381, allocations: 0.5633 MB / 0.83 GB, free: 8.832 MB / 0.6387 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.004102/0.2422, allocations: 3.722 MB / 0.8336 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.2428, allocations: 234.5 kB / 0.8339 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.2431, allocations: 168.7 kB / 0.834 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.2437, allocations: 0.6648 MB / 0.8347 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2437, allocations: 38.56 kB / 0.8347 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.2437, allocations: 0 / 0.8347 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001163/0.2449, allocations: 0.5143 MB / 0.8352 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2449, allocations: 59.34 kB / 0.8353 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.2461, allocations: 0.9494 MB / 0.8362 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.2461, allocations: 37.7 kB / 0.8362 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.2465, allocations: 0.4965 MB / 0.8367 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2466, allocations: 115 kB / 0.8368 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.2468, allocations: 114.2 kB / 0.8369 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2469, allocations: 330 kB / 0.8372 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.2473, allocations: 165 kB / 0.8374 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.2478, allocations: 343 kB / 0.8377 GB, free: 348 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2726/0.5203, allocations: 0.511 MB / 0.8382 GB, free: 75.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5203, allocations: 5.156 kB / 0.8382 GB, free: 75.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001226/0.5216, allocations: 0.6244 MB / 0.8388 GB, free: 75.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5216, allocations: 6.812 kB / 0.8388 GB, free: 75.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5216, allocations: 5.75 kB / 0.8388 GB, free: 75.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5216, allocations: 14.14 kB / 0.8389 GB, free: 75.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.522, allocations: 122.9 kB / 0.839 GB, free: 75.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.5221, allocations: 17.28 kB / 0.839 GB, free: 75.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.5226, allocations: 84.34 kB / 0.8391 GB, free: 75.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.5226, allocations: 27.08 kB / 0.8391 GB, free: 75.34 MB / 0.6387 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.0003246/0.523, allocations: 273.5 kB / 0.8394 GB, free: 75.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5231, allocations: 106.7 kB / 0.8395 GB, free: 75.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008795/0.524, allocations: 487.1 kB / 0.8399 GB, free: 75.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.524, allocations: 7.625 kB / 0.8399 GB, free: 75.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.524, allocations: 1.516 kB / 0.8399 GB, free: 75.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000648/0.5247, allocations: 452.5 kB / 0.8404 GB, free: 75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.5264, allocations: 1.371 MB / 0.8417 GB, free: 74.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5264, allocations: 1.688 kB / 0.8417 GB, free: 74.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.5267, allocations: 80.42 kB / 0.8418 GB, free: 74.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5267, allocations: 3.281 kB / 0.8418 GB, free: 74.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5268, allocations: 9.453 kB / 0.8418 GB, free: 74.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5268, allocations: 3.172 kB / 0.8418 GB, free: 74.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5268, allocations: 2.156 kB / 0.8418 GB, free: 74.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5279, allocations: 0.7751 MB / 0.8426 GB, free: 74.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.5281, allocations: 233.8 kB / 0.8428 GB, free: 74.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.5282, allocations: 8.062 kB / 0.8428 GB, free: 74.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.5287, allocations: 33.62 kB / 0.8428 GB, free: 74.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.5288, allocations: 28.91 kB / 0.8429 GB, free: 74.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.5288, allocations: 16.27 kB / 0.8429 GB, free: 74.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007432/0.5295, allocations: 0.6615 MB / 0.8435 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.5295, allocations: 0.7812 kB / 0.8435 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008399/0.5304, allocations: 341.3 kB / 0.8438 GB, free: 73.77 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.001848/0.5322, allocations: 1.601 MB / 0.8454 GB, free: 72.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007985/0.533, allocations: 405.6 kB / 0.8458 GB, free: 72.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.533, allocations: 3.844 kB / 0.8458 GB, free: 72.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.5334, allocations: 175.4 kB / 0.846 GB, free: 72.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.5357, allocations: 0.6151 MB / 0.8466 GB, free: 72.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.5439, allocations: 6.845 MB / 0.8532 GB, free: 68.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.5444, allocations: 1.034 MB / 0.8543 GB, free: 68.17 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.545, allocations: 199.3 kB / 0.8544 GB, free: 68.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.5454, allocations: 371.3 kB / 0.8548 GB, free: 67.86 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.5454, allocations: 0.625 kB / 0.8548 GB, free: 67.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05364/0.599, allocations: 29.89 MB / 0.884 GB, free: 51.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/9.594, allocations: 2.234 kB / 0.884 GB, free: 51.6 MB / 0.6387 GB " [Timeout remaining time 650] (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 --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: 13.019352112998604]