Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.001095/0.001096, allocations: 174.6 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.7012/0.7012, 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.47/1.47, allocations: 221.3 MB / 400.4 MB, free: 5.906 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.0008469/0.0008466, allocations: 100.8 kB / 483.3 MB, free: 5.914 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.563e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.154, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.374, allocations: 338.6 MB / 0.9712 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.374, allocations: 83.03 kB / 0.9713 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1873/1.561, allocations: 73.96 MB / 1.043 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.424e-06/1.562, allocations: 0 / 1.043 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.727e-05/1.562, allocations: 15.75 kB / 1.043 GB, free: 188.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008197/1.562, allocations: 457.2 kB / 1.044 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/1.562, allocations: 11.53 kB / 1.044 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.838e-05/1.563, allocations: 46.45 kB / 1.044 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/1.563, allocations: 15.62 kB / 1.044 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/1.563, allocations: 249.5 kB / 1.044 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/1.563, allocations: 7.812 kB / 1.044 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/1.563, allocations: 7.812 kB / 1.044 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/1.563, allocations: 133.3 kB / 1.044 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.563, allocations: 4 kB / 1.044 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.564, allocations: 0 / 1.044 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/1.564, allocations: 3.875 kB / 1.044 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/1.564, allocations: 59.23 kB / 1.044 GB, free: 187.7 MB / 0.6823 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.0009109/1.565, allocations: 0.5295 MB / 1.045 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/1.565, allocations: 72.45 kB / 1.045 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/1.565, allocations: 45.27 kB / 1.045 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/1.565, allocations: 344 kB / 1.045 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.565, allocations: 30.56 kB / 1.045 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.565, allocations: 0 / 1.045 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002348/1.565, allocations: 100.1 kB / 1.046 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/1.566, allocations: 77.11 kB / 1.046 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.566, allocations: 164.8 kB / 1.046 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/1.566, allocations: 25.7 kB / 1.046 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/1.566, allocations: 124 kB / 1.046 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/1.566, allocations: 27.48 kB / 1.046 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/1.566, allocations: 4 kB / 1.046 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/1.566, allocations: 326.7 kB / 1.046 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/1.566, allocations: 15.78 kB / 1.046 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/1.566, allocations: 64.7 kB / 1.046 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/1.566, allocations: 35.62 kB / 1.046 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.566, allocations: 0 / 1.046 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000144/1.566, allocations: 108 kB / 1.046 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.566, allocations: 4.75 kB / 1.046 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.566, allocations: 0 / 1.046 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.566, allocations: 3.906 kB / 1.046 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/1.566, allocations: 23.3 kB / 1.046 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.566, allocations: 0 / 1.046 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/1.567, allocations: 23.52 kB / 1.047 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/1.567, allocations: 7.891 kB / 1.047 GB, free: 185.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/1.567, allocations: 112.7 kB / 1.047 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/1.567, allocations: 15.58 kB / 1.047 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/1.567, allocations: 125 kB / 1.047 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.567, allocations: 7.906 kB / 1.047 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.567, allocations: 0 / 1.047 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.567, allocations: 0 / 1.047 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/1.567, allocations: 462.8 kB / 1.047 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.567, allocations: 0 / 1.047 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/1.568, allocations: 31.55 kB / 1.047 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.568, allocations: 0 / 1.047 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.568, allocations: 12.03 kB / 1.047 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/1.568, allocations: 0 / 1.047 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.568, allocations: 3.906 kB / 1.047 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/1.568, allocations: 366.7 kB / 1.048 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/1.568, allocations: 100.8 kB / 1.048 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/1.568, allocations: 7.859 kB / 1.048 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.568, allocations: 11.91 kB / 1.048 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/1.568, allocations: 15.83 kB / 1.048 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/1.568, allocations: 3.906 kB / 1.048 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.872e-05/1.568, allocations: 143.2 kB / 1.048 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/1.568, allocations: 0 / 1.048 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003812/1.569, allocations: 66.81 kB / 1.048 GB, free: 184.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009486/1.57, allocations: 1.292 MB / 1.049 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001661/1.57, allocations: 74.72 kB / 1.049 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.57, allocations: 0 / 1.049 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/1.57, allocations: 51.17 kB / 1.049 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/1.57, allocations: 77.94 kB / 1.049 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/1.571, allocations: 293.4 kB / 1.05 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/1.571, allocations: 0.7392 MB / 1.05 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001013/1.571, allocations: 28.81 kB / 1.05 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/1.571, allocations: 43.23 kB / 1.05 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of SimCode: time 3.7e-07/1.571, allocations: 0 / 1.05 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/1.591, allocations: 5.967 MB / 1.056 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/1.591, allocations: 202.4 kB / 1.056 GB, free: 179 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/3.353, allocations: 4 kB / 1.056 GB, free: 179 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)