Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.001258/0.001258, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7998/0.7998, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 63.84 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3466, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0102/0.3568, allocations: 10.13 MB / 0.5901 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.3598, allocations: 2.216 MB / 0.5922 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.36, allocations: 8.156 kB / 0.5923 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3604, allocations: 97.59 kB / 0.5924 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.361, allocations: 260.2 kB / 0.5926 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.3616, allocations: 221.2 kB / 0.5928 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.3621, allocations: 439.2 kB / 0.5932 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.3624, allocations: 145.8 kB / 0.5934 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.3628, allocations: 210.2 kB / 0.5936 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.363, allocations: 120 kB / 0.5937 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.363, allocations: 9.844 kB / 0.5937 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.3634, allocations: 151.6 kB / 0.5938 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.3635, allocations: 43.77 kB / 0.5939 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.3636, allocations: 72.19 kB / 0.5939 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.364, allocations: 254.3 kB / 0.5942 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.364, allocations: 0 / 0.5942 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.364, allocations: 1.391 kB / 0.5942 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.364, allocations: 0 / 0.5942 GB, free: 10.8 MB / 446.1 MB 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.0005862/0.3646, allocations: 475.2 kB / 0.5946 GB, free: 10.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3646, allocations: 9.812 kB / 0.5947 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.3647, allocations: 44.81 kB / 0.5947 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.3647, allocations: 21.28 kB / 0.5947 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.365, allocations: 242 kB / 0.5949 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.365, allocations: 8.062 kB / 0.595 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3651, allocations: 12 kB / 0.595 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.3654, allocations: 141.3 kB / 0.5951 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3654, allocations: 1.281 kB / 0.5951 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3654, allocations: 4.75 kB / 0.5951 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3654, allocations: 3.406 kB / 0.5951 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.3657, allocations: 90.56 kB / 0.5952 GB, free: 9.965 MB / 446.1 MB 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.0007461/0.3665, allocations: 0.539 MB / 0.5957 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.3667, allocations: 98.97 kB / 0.5958 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3668, allocations: 57.25 kB / 0.5959 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.3671, allocations: 338 kB / 0.5962 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.3671, allocations: 35.27 kB / 0.5962 GB, free: 9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3671, allocations: 0.875 kB / 0.5962 GB, free: 9 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005085/0.3676, allocations: 155.7 kB / 0.5964 GB, free: 8.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3677, allocations: 82.55 kB / 0.5965 GB, free: 8.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3679, allocations: 182.2 kB / 0.5966 GB, free: 8.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3679, allocations: 26.95 kB / 0.5967 GB, free: 8.688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.368, allocations: 121 kB / 0.5968 GB, free: 8.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.368, allocations: 29.22 kB / 0.5968 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.3681, allocations: 28.41 kB / 0.5968 GB, free: 8.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.3682, allocations: 327 kB / 0.5971 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3683, allocations: 30.25 kB / 0.5972 GB, free: 8.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3685, allocations: 81.58 kB / 0.5972 GB, free: 8.152 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.3687, allocations: 90.23 kB / 0.5973 GB, free: 8.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3687, allocations: 9.062 kB / 0.5973 GB, free: 8.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003249/0.3691, allocations: 130.2 kB / 0.5975 GB, free: 8.043 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3691, allocations: 6.656 kB / 0.5975 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3691, allocations: 0 / 0.5975 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3691, allocations: 2.25 kB / 0.5975 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.3693, allocations: 38.14 kB / 0.5975 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3693, allocations: 1.281 kB / 0.5975 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3695, allocations: 20.14 kB / 0.5975 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.3695, allocations: 8.078 kB / 0.5975 GB, free: 8.027 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/0.3696, allocations: 133.5 kB / 0.5977 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.3697, allocations: 15.23 kB / 0.5977 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.3699, allocations: 134.9 kB / 0.5978 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3699, allocations: 2.188 kB / 0.5978 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3699, allocations: 1.406 kB / 0.5978 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3699, allocations: 4 kB / 0.5978 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.3705, allocations: 471.1 kB / 0.5983 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3705, allocations: 0 / 0.5983 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.3707, allocations: 37.95 kB / 0.5983 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3707, allocations: 4.094 kB / 0.5983 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3707, allocations: 4.188 kB / 0.5983 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3707, allocations: 0.7031 kB / 0.5983 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3708, allocations: 7.375 kB / 0.5983 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.3711, allocations: 340.4 kB / 0.5986 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.3712, allocations: 106.8 kB / 0.5987 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3713, allocations: 1.844 kB / 0.5987 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3714, allocations: 10.91 kB / 0.5988 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.3715, allocations: 16.2 kB / 0.5988 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3715, allocations: 3.938 kB / 0.5988 GB, free: 7.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3716, allocations: 148.5 kB / 0.5989 GB, free: 6.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3716, allocations: 4 kB / 0.5989 GB, free: 6.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.372, allocations: 50.16 kB / 0.599 GB, free: 6.91 MB / 446.1 MB 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 () * Number of clocked 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 (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.0008558/0.3728, allocations: 0.9532 MB / 0.5999 GB, free: 6.086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.3732, allocations: 106.8 kB / 0.6 GB, free: 6.055 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3732, allocations: 1.031 kB / 0.6 GB, free: 6.055 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.3734, allocations: 70.42 kB / 0.6001 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.374, allocations: 60.5 kB / 0.6001 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3761, allocations: 1.97 MB / 0.602 GB, free: 4.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3764, allocations: 0.7335 MB / 0.6028 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.3765, allocations: 33.59 kB / 0.6028 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.3766, allocations: 48.55 kB / 0.6028 GB, free: 3.539 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3766, allocations: 0 / 0.6028 GB, free: 3.539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3659/0.7425, allocations: 5.208 MB / 0.6079 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.552, allocations: 10.3 kB / 0.6079 GB, free: 0.9219 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)