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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005045/0.005045, allocations: 99.34 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 199.6 kB / 16.68 MB, free: 5.961 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9617/0.9617, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.89 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3598, allocations: 81.02 MB / 0.6649 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.00873/0.3686, allocations: 10.13 MB / 0.6747 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.3715, allocations: 2.212 MB / 0.6769 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3717, allocations: 9.188 kB / 0.6769 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.372, allocations: 93.33 kB / 0.677 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.3726, allocations: 263.7 kB / 0.6773 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.3732, allocations: 229.3 kB / 0.6775 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.3737, allocations: 439.1 kB / 0.6779 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.374, allocations: 137.4 kB / 0.678 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.3744, allocations: 215.2 kB / 0.6782 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3745, allocations: 114.7 kB / 0.6783 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3746, allocations: 9.5 kB / 0.6783 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.3749, allocations: 158.2 kB / 0.6785 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.375, allocations: 43.05 kB / 0.6785 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.3751, allocations: 72.14 kB / 0.6786 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.3755, allocations: 265.5 kB / 0.6789 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3755, allocations: 0 / 0.6789 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3755, allocations: 0 / 0.6789 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3755, allocations: 0 / 0.6789 GB, free: 11.77 MB / 0.5137 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.0006552/0.3762, allocations: 481.2 kB / 0.6793 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3762, allocations: 9.375 kB / 0.6793 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.3763, allocations: 46.05 kB / 0.6794 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3763, allocations: 22.39 kB / 0.6794 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.3767, allocations: 255.6 kB / 0.6796 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3767, allocations: 13.06 kB / 0.6797 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3768, allocations: 11.81 kB / 0.6797 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.3771, allocations: 150.5 kB / 0.6798 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3771, allocations: 0 / 0.6798 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3771, allocations: 5.344 kB / 0.6798 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3771, allocations: 2.562 kB / 0.6798 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.3774, allocations: 84.84 kB / 0.6799 GB, free: 10.82 MB / 0.5137 GB 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.0007839/0.3782, allocations: 0.5445 MB / 0.6804 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.3784, allocations: 90.2 kB / 0.6805 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3786, allocations: 55.69 kB / 0.6806 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.3789, allocations: 339.8 kB / 0.6809 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.3789, allocations: 32.03 kB / 0.6809 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3789, allocations: 0 / 0.6809 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005072/0.3795, allocations: 157 kB / 0.6811 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.3795, allocations: 82.33 kB / 0.6811 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3797, allocations: 195.2 kB / 0.6813 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3798, allocations: 26.73 kB / 0.6814 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.3798, allocations: 119.1 kB / 0.6815 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.3799, allocations: 31.17 kB / 0.6815 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.3799, allocations: 22.78 kB / 0.6815 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3801, allocations: 326.8 kB / 0.6818 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3802, allocations: 34.28 kB / 0.6819 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.3804, allocations: 69.52 kB / 0.6819 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3806, allocations: 97.55 kB / 0.682 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3807, allocations: 0 / 0.682 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000312/0.381, allocations: 132.3 kB / 0.6822 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.381, allocations: 9.438 kB / 0.6822 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.381, allocations: 1.094 kB / 0.6822 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.381, allocations: 1.156 kB / 0.6822 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.3812, allocations: 39.89 kB / 0.6822 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3813, allocations: 1.25 kB / 0.6822 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3814, allocations: 23.52 kB / 0.6822 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3814, allocations: 11.64 kB / 0.6822 GB, free: 8.664 MB / 0.5137 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 () * 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.0001243/0.3816, allocations: 130.8 kB / 0.6824 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.3816, allocations: 15.22 kB / 0.6824 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.3819, allocations: 138.8 kB / 0.6825 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3819, allocations: 1 kB / 0.6825 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3819, allocations: 1.125 kB / 0.6825 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3819, allocations: 1.094 kB / 0.6825 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.3825, allocations: 472.5 kB / 0.683 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3825, allocations: 1.438 kB / 0.683 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3827, allocations: 40.27 kB / 0.683 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3827, allocations: 1.406 kB / 0.683 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3827, allocations: 2.562 kB / 0.683 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.3828, allocations: 9.547 kB / 0.683 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.3828, allocations: 9.375 kB / 0.683 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.3833, allocations: 345.6 kB / 0.6834 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.3834, allocations: 104.5 kB / 0.6835 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3834, allocations: 6.453 kB / 0.6835 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3835, allocations: 4.062 kB / 0.6835 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.3836, allocations: 21.27 kB / 0.6835 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3836, allocations: 3.031 kB / 0.6835 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001726/0.3838, allocations: 139.6 kB / 0.6836 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.024e-06/0.3838, allocations: 0 / 0.6836 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003489/0.3841, allocations: 55.88 kB / 0.6837 GB, free: 7.414 MB / 0.5137 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 () * 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.001049/0.3852, allocations: 0.9491 MB / 0.6846 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3855, allocations: 107.4 kB / 0.6847 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3855, allocations: 0 / 0.6847 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3857, allocations: 67.05 kB / 0.6848 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.3863, allocations: 70.19 kB / 0.6848 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.3887, allocations: 1.973 MB / 0.6868 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3891, allocations: 0.7303 MB / 0.6875 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.565e-05/0.3892, allocations: 27.09 kB / 0.6875 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.3893, allocations: 47.95 kB / 0.6875 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.3893, allocations: 0 / 0.6875 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.4158, allocations: 5.266 MB / 0.6927 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.751, allocations: 11.17 kB / 0.6927 GB, free: 1.273 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)