Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_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.004565/0.004565, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001082/0.001082, allocations: 193 kB / 16.67 MB, free: 5.93 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 281.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 99.78 kB / 0.681 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3908, allocations: 86.98 MB / 0.7659 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01423/0.4051, allocations: 14.76 MB / 0.7803 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00415/0.4092, allocations: 3.727 MB / 0.784 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.4095, allocations: 11.94 kB / 0.784 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.41, allocations: 174.7 kB / 0.7841 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.4108, allocations: 422 kB / 0.7845 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.4115, allocations: 326.5 kB / 0.7848 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.4123, allocations: 0.7802 MB / 0.7856 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.4127, allocations: 299.8 kB / 0.7859 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.4132, allocations: 386.4 kB / 0.7863 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.4135, allocations: 219 kB / 0.7865 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.4135, allocations: 24 kB / 0.7865 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.4139, allocations: 235.5 kB / 0.7867 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.414, allocations: 67.75 kB / 0.7868 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4142, allocations: 143.2 kB / 0.7869 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.4147, allocations: 448.1 kB / 0.7873 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4147, allocations: 0 / 0.7873 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4147, allocations: 0 / 0.7873 GB, free: 14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.4147, allocations: 3.938 kB / 0.7873 GB, free: 13.99 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007809/0.4155, allocations: 0.6114 MB / 0.7879 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4156, allocations: 8.031 kB / 0.788 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.4156, allocations: 58.72 kB / 0.788 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.4157, allocations: 36.75 kB / 0.788 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.4162, allocations: 327.2 kB / 0.7884 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.4162, allocations: 20.81 kB / 0.7884 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.4162, allocations: 32.3 kB / 0.7884 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.4167, allocations: 253.3 kB / 0.7886 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4167, allocations: 3.938 kB / 0.7887 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.4168, allocations: 8 kB / 0.7887 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4168, allocations: 4 kB / 0.7887 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.4173, allocations: 188.5 kB / 0.7888 GB, free: 12.35 MB / 0.5606 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.001116/0.4184, allocations: 0.8245 MB / 0.7896 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.4187, allocations: 141.1 kB / 0.7898 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.4189, allocations: 89.66 kB / 0.7899 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/0.4192, allocations: 0.4947 MB / 0.7904 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.4193, allocations: 34.56 kB / 0.7904 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.4193, allocations: 0 / 0.7904 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007366/0.42, allocations: 261.4 kB / 0.7906 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.4201, allocations: 85.09 kB / 0.7907 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4203, allocations: 267 kB / 0.791 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4203, allocations: 25.7 kB / 0.791 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4204, allocations: 168.5 kB / 0.7912 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.4205, allocations: 47.52 kB / 0.7912 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.4205, allocations: 37.7 kB / 0.7912 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4207, allocations: 338.8 kB / 0.7916 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.4209, allocations: 59.95 kB / 0.7916 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4211, allocations: 119.5 kB / 0.7917 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.4215, allocations: 172.4 kB / 0.7919 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4215, allocations: 3.984 kB / 0.7919 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004829/0.422, allocations: 213.3 kB / 0.7921 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.422, allocations: 4 kB / 0.7921 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.422, allocations: 4 kB / 0.7921 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4221, allocations: 0 / 0.7921 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.4223, allocations: 63.97 kB / 0.7922 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4224, allocations: 0 / 0.7922 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.4225, allocations: 28.14 kB / 0.7922 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.4226, allocations: 16.03 kB / 0.7922 GB, free: 8.594 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001196/0.4227, allocations: 148.1 kB / 0.7924 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.4228, allocations: 31.84 kB / 0.7924 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.4231, allocations: 181.7 kB / 0.7926 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4231, allocations: 8 kB / 0.7926 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4231, allocations: 0 / 0.7926 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4231, allocations: 3.938 kB / 0.7926 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.4238, allocations: 0.599 MB / 0.7932 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4238, allocations: 0 / 0.7932 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4241, allocations: 60.06 kB / 0.7932 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4241, allocations: 0 / 0.7932 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4241, allocations: 4 kB / 0.7932 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4241, allocations: 0 / 0.7932 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4241, allocations: 7.938 kB / 0.7932 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.4247, allocations: 441.9 kB / 0.7936 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4248, allocations: 124.9 kB / 0.7938 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4249, allocations: 0 / 0.7938 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4251, allocations: 28.09 kB / 0.7938 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.4251, allocations: 19.86 kB / 0.7938 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4252, allocations: 12 kB / 0.7938 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001604/0.4253, allocations: 194 kB / 0.794 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4253, allocations: 3.938 kB / 0.794 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004032/0.4257, allocations: 87.75 kB / 0.7941 GB, free: 6.543 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001096/0.4268, allocations: 1.075 MB / 0.7951 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.4273, allocations: 175.7 kB / 0.7953 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4274, allocations: 0 / 0.7953 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.4276, allocations: 108.3 kB / 0.7954 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.4284, allocations: 115.5 kB / 0.7955 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.4316, allocations: 2.648 MB / 0.7981 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4319, allocations: 0.7675 MB / 0.7989 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.4321, allocations: 62.17 kB / 0.7989 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.4322, allocations: 87.41 kB / 0.799 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/0.4322, allocations: 0 / 0.799 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.4571, allocations: 8.142 MB / 0.807 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.795, allocations: 14.72 kB / 0.807 GB, free: 9.422 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)