Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.786/0.786, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.785/1.785, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.000932, allocations: 103.4 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.399e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.547, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.95/6.497, allocations: 1.858 GB / 2.492 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/6.498, allocations: 87.89 kB / 2.492 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.181/10.68, allocations: 0.9988 GB / 3.491 GB, free: 97.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/10.68, allocations: 0 / 3.491 GB, free: 97.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001554/10.68, allocations: 31.78 kB / 3.491 GB, free: 97.64 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00692/10.69, allocations: 1.795 MB / 3.493 GB, free: 97.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/10.69, allocations: 11.09 kB / 3.493 GB, free: 97.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/10.69, allocations: 0.5461 MB / 3.493 GB, free: 96.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/10.69, allocations: 1.07 MB / 3.494 GB, free: 96.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006453/10.69, allocations: 167.5 kB / 3.494 GB, free: 96.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/10.69, allocations: 49.16 kB / 3.494 GB, free: 96.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001868/10.7, allocations: 0.9947 MB / 3.495 GB, free: 96.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/10.7, allocations: 1.038 MB / 3.496 GB, free: 96.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/10.7, allocations: 0 / 3.496 GB, free: 96.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/10.7, allocations: 0 / 3.496 GB, free: 96.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/10.7, allocations: 42.88 kB / 3.496 GB, free: 96.62 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.006514/10.7, allocations: 4.016 MB / 3.5 GB, free: 95.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/10.7, allocations: 0.7256 MB / 3.501 GB, free: 95.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/10.71, allocations: 0.491 MB / 3.501 GB, free: 95.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000902/10.71, allocations: 0.6136 MB / 3.502 GB, free: 94.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/10.71, allocations: 42.66 kB / 3.502 GB, free: 94.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/10.71, allocations: 3.062 kB / 3.502 GB, free: 94.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002546/10.71, allocations: 1.135 MB / 3.503 GB, free: 94.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/10.71, allocations: 59.69 kB / 3.503 GB, free: 94.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/10.71, allocations: 0.5645 MB / 3.504 GB, free: 94.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/10.71, allocations: 29.61 kB / 3.504 GB, free: 94.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/10.71, allocations: 454 kB / 3.504 GB, free: 94.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/10.71, allocations: 251.6 kB / 3.505 GB, free: 93.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/10.71, allocations: 3.406 kB / 3.505 GB, free: 93.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/10.71, allocations: 329.9 kB / 3.505 GB, free: 93.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/10.71, allocations: 397 kB / 3.505 GB, free: 93.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/10.71, allocations: 0.5256 MB / 3.506 GB, free: 93.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/10.71, allocations: 0.5768 MB / 3.506 GB, free: 93.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/10.71, allocations: 0 / 3.506 GB, free: 93.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002109/10.72, allocations: 1.181 MB / 3.507 GB, free: 93.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/10.72, allocations: 482.5 kB / 3.508 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/10.72, allocations: 3.188 kB / 3.508 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/10.72, allocations: 5.969 kB / 3.508 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/10.72, allocations: 284.4 kB / 3.508 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005222/10.72, allocations: 1.198 MB / 3.509 GB, free: 91.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/10.72, allocations: 177.1 kB / 3.51 GB, free: 91.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/10.72, allocations: 47.17 kB / 3.51 GB, free: 91.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/10.72, allocations: 3.156 kB / 3.51 GB, free: 91.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00182/10.72, allocations: 1.056 MB / 3.511 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/10.72, allocations: 3.156 kB / 3.511 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/10.72, allocations: 3.75 kB / 3.511 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/10.72, allocations: 264.3 kB / 3.511 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/10.72, allocations: 7.922 kB / 3.511 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/10.72, allocations: 169.6 kB / 3.511 GB, free: 91.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/10.72, allocations: 43.59 kB / 3.511 GB, free: 91.66 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002482/10.72, allocations: 115.1 kB / 3.511 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001816/10.73, allocations: 1.084 MB / 3.512 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/10.73, allocations: 96.84 kB / 3.512 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/10.73, allocations: 1.193 MB / 3.514 GB, free: 91.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/10.73, allocations: 10.25 kB / 3.514 GB, free: 91.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/10.73, allocations: 0 / 3.514 GB, free: 91.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/10.73, allocations: 7.5 kB / 3.514 GB, free: 91.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/10.73, allocations: 2.589 MB / 3.516 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/10.73, allocations: 3.938 kB / 3.516 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/10.73, allocations: 264.5 kB / 3.516 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/10.73, allocations: 7.625 kB / 3.516 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/10.73, allocations: 20.22 kB / 3.516 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000466/10.73, allocations: 1.2 MB / 3.518 GB, free: 89.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/10.73, allocations: 6.75 kB / 3.518 GB, free: 89.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/10.74, allocations: 1.476 MB / 3.519 GB, free: 89.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/10.74, allocations: 307.1 kB / 3.519 GB, free: 89.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/10.74, allocations: 10.73 kB / 3.519 GB, free: 89.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/10.74, allocations: 150.2 kB / 3.519 GB, free: 89.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/10.74, allocations: 69.52 kB / 3.519 GB, free: 89.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/10.74, allocations: 33.83 kB / 3.52 GB, free: 89.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005142/10.74, allocations: 443.1 kB / 3.52 GB, free: 88.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.32e-07/10.74, allocations: 0 / 3.52 GB, free: 88.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002061/10.74, allocations: 0.6772 MB / 3.521 GB, free: 88.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006336/10.75, allocations: 5.575 MB / 3.526 GB, free: 86.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002658/10.75, allocations: 1.612 MB / 3.528 GB, free: 85.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/10.75, allocations: 3.938 kB / 3.528 GB, free: 85.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/10.75, allocations: 0.5179 MB / 3.528 GB, free: 85.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/10.75, allocations: 422.9 kB / 3.529 GB, free: 85.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/10.77, allocations: 2.546 MB / 3.531 GB, free: 85.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/10.77, allocations: 1.118 MB / 3.532 GB, free: 84.63 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001965/10.77, allocations: 448.2 kB / 3.533 GB, free: 84.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/10.77, allocations: 371.7 kB / 3.533 GB, free: 84.61 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/10.77, allocations: 6.469 kB / 3.533 GB, free: 84.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07341/10.84, allocations: 43.53 MB / 3.575 GB, free: 82.88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/10.84, allocations: 190.1 kB / 3.576 GB, free: 82.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/14.45, allocations: 0 / 3.576 GB, free: 82.68 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)