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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 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.00184/0.00184, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7433/0.7433, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.59 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4269, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01027/0.4372, allocations: 10.14 MB / 0.5901 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.4402, allocations: 2.212 MB / 0.5922 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.4404, allocations: 12.09 kB / 0.5923 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.4408, allocations: 97.52 kB / 0.5923 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.4414, allocations: 252.7 kB / 0.5926 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.4421, allocations: 228.6 kB / 0.5928 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.4427, allocations: 439.6 kB / 0.5932 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.4429, allocations: 133.5 kB / 0.5934 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.4434, allocations: 210.8 kB / 0.5936 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.4436, allocations: 122.5 kB / 0.5937 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.4436, allocations: 9.875 kB / 0.5937 GB, free: 11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.444, allocations: 164.2 kB / 0.5938 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.4441, allocations: 35.33 kB / 0.5939 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.4442, allocations: 74.16 kB / 0.5939 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.4447, allocations: 245.3 kB / 0.5942 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4447, allocations: 4 kB / 0.5942 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4447, allocations: 0.75 kB / 0.5942 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4447, allocations: 0 / 0.5942 GB, free: 10.79 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.0006648/0.4454, allocations: 472.3 kB / 0.5946 GB, free: 10.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4454, allocations: 9.156 kB / 0.5946 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.4455, allocations: 48.73 kB / 0.5947 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.4455, allocations: 17.88 kB / 0.5947 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.4458, allocations: 240.8 kB / 0.5949 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4458, allocations: 13.25 kB / 0.5949 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.4459, allocations: 11.06 kB / 0.595 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.4462, allocations: 146.1 kB / 0.5951 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4462, allocations: 5.234 kB / 0.5951 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4462, allocations: 8 kB / 0.5951 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4463, allocations: 2.5 kB / 0.5951 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.4465, allocations: 88.41 kB / 0.5952 GB, free: 9.941 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.0007966/0.4473, allocations: 0.5385 MB / 0.5957 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.4476, allocations: 98.14 kB / 0.5958 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4477, allocations: 59.39 kB / 0.5959 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.448, allocations: 331.8 kB / 0.5962 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.448, allocations: 32.62 kB / 0.5962 GB, free: 8.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.448, allocations: 0 / 0.5962 GB, free: 8.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005122/0.4485, allocations: 164.5 kB / 0.5964 GB, free: 8.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.4486, allocations: 78.48 kB / 0.5964 GB, free: 8.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4488, allocations: 182.5 kB / 0.5966 GB, free: 8.699 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.4488, allocations: 25.7 kB / 0.5966 GB, free: 8.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.4489, allocations: 122 kB / 0.5968 GB, free: 8.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.4489, allocations: 28.94 kB / 0.5968 GB, free: 8.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.449, allocations: 28.73 kB / 0.5968 GB, free: 8.512 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4491, allocations: 330 kB / 0.5971 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.4492, allocations: 31.97 kB / 0.5972 GB, free: 8.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.4494, allocations: 73.3 kB / 0.5972 GB, free: 8.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.4496, allocations: 94 kB / 0.5973 GB, free: 8.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4497, allocations: 3.938 kB / 0.5973 GB, free: 8.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003248/0.45, allocations: 127.6 kB / 0.5974 GB, free: 8.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.45, allocations: 9.344 kB / 0.5975 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.45, allocations: 0.6562 kB / 0.5975 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.45, allocations: 0 / 0.5975 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.4503, allocations: 42.78 kB / 0.5975 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.4503, allocations: 9.297 kB / 0.5975 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4504, allocations: 19.5 kB / 0.5975 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.4504, allocations: 4.703 kB / 0.5975 GB, free: 8.008 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 0.0001019/0.4505, allocations: 129.2 kB / 0.5977 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.4506, allocations: 19.38 kB / 0.5977 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.4508, allocations: 137.8 kB / 0.5978 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4509, allocations: 3.172 kB / 0.5978 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4509, allocations: 96 / 0.5978 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4509, allocations: 6.062 kB / 0.5978 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.4515, allocations: 469.5 kB / 0.5983 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4515, allocations: 5.531 kB / 0.5983 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.4517, allocations: 39.03 kB / 0.5983 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4517, allocations: 2.844 kB / 0.5983 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4517, allocations: 1.125 kB / 0.5983 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4517, allocations: 3.328 kB / 0.5983 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4517, allocations: 1.062 kB / 0.5983 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.4521, allocations: 346.9 kB / 0.5986 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.4522, allocations: 106.9 kB / 0.5987 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.4522, allocations: 2.922 kB / 0.5987 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4524, allocations: 10.69 kB / 0.5988 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.4524, allocations: 19.42 kB / 0.5988 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4525, allocations: 4.625 kB / 0.5988 GB, free: 6.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4526, allocations: 140.3 kB / 0.5989 GB, free: 6.898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.522e-06/0.4526, allocations: 0 / 0.5989 GB, free: 6.898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.453, allocations: 55.88 kB / 0.599 GB, free: 6.887 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.0008965/0.4539, allocations: 0.9516 MB / 0.5999 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.4542, allocations: 107.4 kB / 0.6 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4542, allocations: 0 / 0.6 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.4544, allocations: 68.66 kB / 0.6001 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.4551, allocations: 69.19 kB / 0.6001 GB, free: 5.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.4575, allocations: 1.965 MB / 0.602 GB, free: 4.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4578, allocations: 0.7269 MB / 0.6028 GB, free: 3.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.858e-05/0.4579, allocations: 26.47 kB / 0.6028 GB, free: 3.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.458, allocations: 47.77 kB / 0.6028 GB, free: 3.516 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.458, allocations: 0 / 0.6028 GB, free: 3.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.4791, allocations: 5.209 MB / 0.6079 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8.079, allocations: 12.42 kB / 0.6079 GB, free: 0.8945 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)