Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit",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.001021/0.001021, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7265/0.7265, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009974, allocations: 93.2 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.898e-05, allocations: 3.312 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1987, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.576, allocations: 1.835 GB / 2.476 GB, free: 59.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.576, allocations: 86.83 kB / 2.476 GB, free: 59.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.962/11.54, allocations: 1.43 GB / 3.906 GB, free: 79.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/11.54, allocations: 0.5 kB / 3.906 GB, free: 79.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001343/11.54, allocations: 46.31 kB / 3.906 GB, free: 79.59 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004008/11.54, allocations: 1.673 MB / 3.908 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/11.54, allocations: 11.2 kB / 3.908 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/11.54, allocations: 125.6 kB / 3.908 GB, free: 79.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000901/11.54, allocations: 201.9 kB / 3.908 GB, free: 79.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/11.55, allocations: 0.9542 MB / 3.909 GB, free: 78.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/11.55, allocations: 129.1 kB / 3.909 GB, free: 78.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/11.55, allocations: 89 kB / 3.909 GB, free: 78.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/11.55, allocations: 0.883 MB / 3.91 GB, free: 78.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/11.55, allocations: 5.031 kB / 3.91 GB, free: 78.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/11.55, allocations: 33.34 kB / 3.91 GB, free: 78.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/11.55, allocations: 25.17 kB / 3.91 GB, free: 78.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007683/11.55, allocations: 465.4 kB / 3.91 GB, free: 78.38 MB / 0.7292 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.00461/11.55, allocations: 4.888 MB / 3.915 GB, free: 75.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/11.55, allocations: 401.1 kB / 3.916 GB, free: 74.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/11.55, allocations: 255.8 kB / 3.916 GB, free: 74.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/11.55, allocations: 102.6 kB / 3.916 GB, free: 74.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/11.55, allocations: 58.05 kB / 3.916 GB, free: 74.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/11.55, allocations: 3.094 kB / 3.916 GB, free: 74.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001179/11.55, allocations: 485 kB / 3.916 GB, free: 74.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/11.55, allocations: 396.1 kB / 3.917 GB, free: 73.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/11.56, allocations: 1.067 MB / 3.918 GB, free: 73.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/11.56, allocations: 40.39 kB / 3.918 GB, free: 73.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/11.56, allocations: 0.5422 MB / 3.918 GB, free: 73.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/11.56, allocations: 117 kB / 3.919 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/11.56, allocations: 3.688 kB / 3.919 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/11.56, allocations: 321.9 kB / 3.919 GB, free: 73.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/11.56, allocations: 87.28 kB / 3.919 GB, free: 73.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/11.56, allocations: 352.5 kB / 3.919 GB, free: 72.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/11.56, allocations: 130.9 kB / 3.919 GB, free: 72.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/11.56, allocations: 3.688 kB / 3.919 GB, free: 72.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006733/11.56, allocations: 0.4907 MB / 3.92 GB, free: 72.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000234/11.56, allocations: 1.346 MB / 3.921 GB, free: 71.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/11.56, allocations: 3.906 kB / 3.921 GB, free: 71.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/11.56, allocations: 81.38 kB / 3.921 GB, free: 71.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/11.56, allocations: 82.44 kB / 3.921 GB, free: 71.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/11.56, allocations: 2.299 MB / 3.924 GB, free: 69.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/11.56, allocations: 122.6 kB / 3.924 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/11.56, allocations: 28.06 kB / 3.924 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/11.56, allocations: 8.5 kB / 3.924 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005183/11.56, allocations: 325.4 kB / 3.924 GB, free: 69.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/11.56, allocations: 7.25 kB / 3.924 GB, free: 69.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/11.56, allocations: 63.61 kB / 3.924 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/11.56, allocations: 71.48 kB / 3.924 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/11.56, allocations: 2.908 MB / 3.927 GB, free: 66.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/11.56, allocations: 122.5 kB / 3.927 GB, free: 66.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/11.56, allocations: 25.41 kB / 3.927 GB, free: 66.36 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001522/11.56, allocations: 138.4 kB / 3.927 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/11.56, allocations: 136 kB / 3.927 GB, free: 66.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/11.57, allocations: 372.6 kB / 3.928 GB, free: 66.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/11.57, allocations: 9.922 kB / 3.928 GB, free: 66.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/11.57, allocations: 7.219 kB / 3.928 GB, free: 66.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/11.57, allocations: 9.75 kB / 3.928 GB, free: 66.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/11.57, allocations: 2.51 MB / 3.93 GB, free: 64.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/11.57, allocations: 3.75 kB / 3.93 GB, free: 64.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/11.57, allocations: 77.61 kB / 3.93 GB, free: 64.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/11.57, allocations: 70.12 kB / 3.93 GB, free: 64.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/11.57, allocations: 14.66 kB / 3.93 GB, free: 64.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008431/11.57, allocations: 2.294 MB / 3.933 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/11.57, allocations: 6.156 kB / 3.933 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/11.57, allocations: 1.043 MB / 3.934 GB, free: 61.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/11.57, allocations: 258.2 kB / 3.934 GB, free: 61.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/11.57, allocations: 18.75 kB / 3.934 GB, free: 61.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000929/11.57, allocations: 69.28 kB / 3.934 GB, free: 61.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/11.57, allocations: 38.45 kB / 3.934 GB, free: 61.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/11.57, allocations: 21.89 kB / 3.934 GB, free: 61.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001116/11.57, allocations: 0.8375 MB / 3.935 GB, free: 61.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/11.57, allocations: 0 / 3.935 GB, free: 61.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002999/11.58, allocations: 0.7956 MB / 3.936 GB, free: 61.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006182/11.58, allocations: 6.381 MB / 3.942 GB, free: 57.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001534/11.59, allocations: 0.7146 MB / 3.943 GB, free: 56.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/11.59, allocations: 6.875 kB / 3.943 GB, free: 56.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/11.59, allocations: 175.1 kB / 3.943 GB, free: 56.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/11.59, allocations: 0.752 MB / 3.944 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/11.59, allocations: 1.652 MB / 3.945 GB, free: 56.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/11.59, allocations: 1.158 MB / 3.946 GB, free: 55.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001731/11.6, allocations: 440.8 kB / 3.947 GB, free: 55.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/11.6, allocations: 422 kB / 3.947 GB, free: 55.44 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/11.6, allocations: 0 / 3.947 GB, free: 55.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/11.73, allocations: 92.52 MB / 4.037 GB, free: 52.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/11.73, allocations: 224.5 kB / 4.038 GB, free: 52.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.475/17.2, allocations: 0 / 4.038 GB, free: 52.02 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)