Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006159/0.006159, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7833/0.7833, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 66.83 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1566, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04041/0.1971, allocations: 41.57 MB / 0.6998 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2118, allocations: 10.38 MB / 0.7099 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.214, allocations: 55.69 kB / 0.71 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.2161, allocations: 0.6599 MB / 0.7106 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.2212, allocations: 1.963 MB / 0.7125 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.2242, allocations: 1.192 MB / 0.7137 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004257/0.2284, allocations: 3.398 MB / 0.717 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.2298, allocations: 1.063 MB / 0.7181 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.2324, allocations: 1.261 MB / 0.7193 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.2334, allocations: 0.8944 MB / 0.7202 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.2336, allocations: 100 kB / 0.7203 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.2354, allocations: 0.8617 MB / 0.7211 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.2356, allocations: 279 kB / 0.7214 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000589/0.2362, allocations: 0.6337 MB / 0.722 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.2386, allocations: 1.937 MB / 0.7239 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2386, allocations: 0 / 0.7239 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.636e-06/0.2386, allocations: 0 / 0.7239 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.2386, allocations: 11.94 kB / 0.7239 GB, free: 8.285 MB / 0.5606 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.00221/0.2408, allocations: 1.507 MB / 0.7254 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2409, allocations: 12.03 kB / 0.7254 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.241, allocations: 114.7 kB / 0.7255 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.2413, allocations: 135.4 kB / 0.7256 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.2429, allocations: 1.103 MB / 0.7267 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.243, allocations: 50 kB / 0.7267 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2431, allocations: 79.98 kB / 0.7268 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.2443, allocations: 0.7866 MB / 0.7276 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.2443, allocations: 7.906 kB / 0.7276 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.2444, allocations: 32 kB / 0.7276 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.2444, allocations: 23.94 kB / 0.7276 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2455, allocations: 0.5672 MB / 0.7282 GB, free: 3.734 MB / 0.5606 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.003748/0.2492, allocations: 3.551 MB / 0.7317 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.2498, allocations: 261.1 kB / 0.7319 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.2501, allocations: 178.8 kB / 0.7321 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.2506, allocations: 0.6609 MB / 0.7327 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2507, allocations: 38.56 kB / 0.7328 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.387e-06/0.2507, allocations: 0 / 0.7328 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001107/0.2518, allocations: 0.5184 MB / 0.7333 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2518, allocations: 59.34 kB / 0.7333 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2529, allocations: 0.9456 MB / 0.7343 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.2529, allocations: 29.7 kB / 0.7343 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.2533, allocations: 499.6 kB / 0.7348 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2534, allocations: 118.4 kB / 0.7349 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2536, allocations: 114.1 kB / 0.735 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2537, allocations: 330 kB / 0.7353 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.254, allocations: 165 kB / 0.7355 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.2545, allocations: 346.9 kB / 0.7358 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.2552, allocations: 0.5159 MB / 0.7363 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2553, allocations: 0 / 0.7363 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001022/0.2563, allocations: 0.6173 MB / 0.7369 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2563, allocations: 4 kB / 0.7369 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2563, allocations: 8 kB / 0.7369 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.2564, allocations: 8 kB / 0.7369 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.2568, allocations: 127.7 kB / 0.737 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2568, allocations: 11.94 kB / 0.737 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.2573, allocations: 87.5 kB / 0.7371 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.2574, allocations: 24 kB / 0.7372 GB, free: 9.961 MB / 0.5762 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.0003203/0.2577, allocations: 285.5 kB / 0.7374 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2579, allocations: 98.78 kB / 0.7375 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.2588, allocations: 488.1 kB / 0.738 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.2588, allocations: 4 kB / 0.738 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2588, allocations: 3.938 kB / 0.738 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006612/0.2595, allocations: 455 kB / 0.7384 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.2613, allocations: 1.363 MB / 0.7398 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2614, allocations: 3.984 kB / 0.7398 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.2617, allocations: 75.89 kB / 0.7398 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.2617, allocations: 8.156 kB / 0.7398 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2617, allocations: 8 kB / 0.7398 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2617, allocations: 4.062 kB / 0.7399 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2617, allocations: 7.938 kB / 0.7399 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2629, allocations: 0.763 MB / 0.7406 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.2632, allocations: 227.8 kB / 0.7408 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/0.2633, allocations: 8 kB / 0.7408 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.2637, allocations: 28.03 kB / 0.7409 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2638, allocations: 27.91 kB / 0.7409 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.2638, allocations: 19.98 kB / 0.7409 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007459/0.2646, allocations: 0.6627 MB / 0.7415 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2646, allocations: 0 / 0.7415 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008881/0.2655, allocations: 343.4 kB / 0.7419 GB, free: 4.953 MB / 0.5762 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.001999/0.2675, allocations: 1.597 MB / 0.7434 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007907/0.2683, allocations: 419.7 kB / 0.7438 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.2683, allocations: 4 kB / 0.7438 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.2686, allocations: 193.2 kB / 0.744 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.2708, allocations: 0.6041 MB / 0.7446 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3209/0.5917, allocations: 6.796 MB / 0.7513 GB, free: 82.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.5923, allocations: 1.035 MB / 0.7523 GB, free: 81.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000791/0.5931, allocations: 195.1 kB / 0.7524 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.5936, allocations: 374.3 kB / 0.7528 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/0.5936, allocations: 0 / 0.7528 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/0.6502, allocations: 29.73 MB / 0.7818 GB, free: 68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.794/10.44, allocations: 3.938 kB / 0.7818 GB, free: 68 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)