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.001713/0.001713, allocations: 108 kB / 15.61 MB, free: 152 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.002235/0.002235, allocations: 191.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.05/2.05, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 286.5 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.292/1.292, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003298/0.003298, allocations: 99.3 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2532, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.03385/0.2871, allocations: 14.76 MB / 0.6947 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.2979, allocations: 3.735 MB / 0.6983 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009396/0.2989, allocations: 15.88 kB / 0.6984 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.3001, allocations: 166.7 kB / 0.6985 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.3022, allocations: 398 kB / 0.6989 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3039, allocations: 337.3 kB / 0.6992 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3056, allocations: 0.7726 MB / 0.7 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/0.3064, allocations: 303.9 kB / 0.7003 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.3076, allocations: 382.4 kB / 0.7006 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.3083, allocations: 215 kB / 0.7008 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3084, allocations: 24 kB / 0.7009 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.3094, allocations: 223.5 kB / 0.7011 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.3097, allocations: 71.75 kB / 0.7011 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.3101, allocations: 139.3 kB / 0.7013 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3113, allocations: 438.7 kB / 0.7017 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.3113, allocations: 4 kB / 0.7017 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3113, allocations: 0 / 0.7017 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.3114, allocations: 0 / 0.7017 GB, free: 10.59 MB / 0.4981 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.001531/0.3129, allocations: 0.5962 MB / 0.7023 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.313, allocations: 12.03 kB / 0.7023 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.187e-05/0.3131, allocations: 66.66 kB / 0.7023 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3132, allocations: 36.47 kB / 0.7024 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.3138, allocations: 303.1 kB / 0.7027 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.3139, allocations: 16.81 kB / 0.7027 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.3139, allocations: 24.38 kB / 0.7027 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.3147, allocations: 257.3 kB / 0.703 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3147, allocations: 3.938 kB / 0.703 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.3148, allocations: 8 kB / 0.703 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3148, allocations: 8 kB / 0.703 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.3156, allocations: 186 kB / 0.7032 GB, free: 8.988 MB / 0.4981 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.002034/0.3177, allocations: 0.8437 MB / 0.704 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.3181, allocations: 137.1 kB / 0.7041 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.3185, allocations: 89.64 kB / 0.7042 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/0.3191, allocations: 0.4908 MB / 0.7047 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/0.3192, allocations: 38.5 kB / 0.7047 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 5.109e-06/0.3193, allocations: 4 kB / 0.7047 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.001268/0.3205, allocations: 253.2 kB / 0.705 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.3206, allocations: 85.27 kB / 0.705 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.3211, allocations: 263 kB / 0.7053 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.3211, allocations: 33.7 kB / 0.7053 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.3213, allocations: 172.2 kB / 0.7055 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.3214, allocations: 39.45 kB / 0.7055 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-05/0.3215, allocations: 33.7 kB / 0.7056 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3217, allocations: 338.8 kB / 0.7059 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.322, allocations: 63.94 kB / 0.7059 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.3224, allocations: 114 kB / 0.706 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.3231, allocations: 176 kB / 0.7062 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3231, allocations: 0 / 0.7062 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000761/0.3239, allocations: 213.1 kB / 0.7064 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3239, allocations: 8 kB / 0.7064 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3239, allocations: 0 / 0.7064 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.324, allocations: 0 / 0.7064 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.3244, allocations: 55.88 kB / 0.7065 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3244, allocations: 4 kB / 0.7065 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3247, allocations: 43.75 kB / 0.7065 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.3248, allocations: 4 kB / 0.7065 GB, free: 5.219 MB / 0.4981 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.0002225/0.325, allocations: 147.1 kB / 0.7067 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.3251, allocations: 23.72 kB / 0.7067 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.3255, allocations: 183.3 kB / 0.7069 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.3256, allocations: 8 kB / 0.7069 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3256, allocations: 0 / 0.7069 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3256, allocations: 4.359 kB / 0.7069 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009389/0.3265, allocations: 0.5952 MB / 0.7075 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.3266, allocations: 8.062 kB / 0.7075 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.3268, allocations: 52.02 kB / 0.7075 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.3269, allocations: 7.984 kB / 0.7075 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.3269, allocations: 4 kB / 0.7075 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3269, allocations: 4 kB / 0.7075 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3269, allocations: 0 / 0.7075 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.3276, allocations: 437.6 kB / 0.7079 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3278, allocations: 124.6 kB / 0.7081 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.3278, allocations: 15.97 kB / 0.7081 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3281, allocations: 19.97 kB / 0.7081 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.3282, allocations: 19.92 kB / 0.7081 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3282, allocations: 4 kB / 0.7081 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002775/0.3285, allocations: 197.9 kB / 0.7083 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3285, allocations: 0 / 0.7083 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005484/0.3291, allocations: 87.84 kB / 0.7084 GB, free: 3.176 MB / 0.4981 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.002049/0.3311, allocations: 1.063 MB / 0.7094 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008043/0.3319, allocations: 186.1 kB / 0.7096 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.332, allocations: 0 / 0.7096 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.3324, allocations: 108.2 kB / 0.7097 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.3339, allocations: 126.5 kB / 0.7098 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.3394, allocations: 2.636 MB / 0.7124 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.34, allocations: 0.7675 MB / 0.7132 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003227/0.3403, allocations: 54.25 kB / 0.7132 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.3405, allocations: 87.41 kB / 0.7133 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.3406, allocations: 0 / 0.7133 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.3886, allocations: 8.067 MB / 0.7212 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 11.23 kB / 0.7212 GB, free: 6.121 MB / 0.5137 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)