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.005574/0.005574, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001253/0.001253, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 286.6 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 95.84 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1661, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.3514/0.5175, allocations: 14.77 MB / 0.7803 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003868/0.5214, allocations: 3.73 MB / 0.784 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.5217, allocations: 20.47 kB / 0.784 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.5222, allocations: 170.2 kB / 0.7841 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008148/0.523, allocations: 399.2 kB / 0.7845 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.5239, allocations: 334.7 kB / 0.7848 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.5246, allocations: 0.7686 MB / 0.7856 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.525, allocations: 294.2 kB / 0.7859 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.5255, allocations: 384.8 kB / 0.7862 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.5258, allocations: 214.5 kB / 0.7864 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.5258, allocations: 21.25 kB / 0.7865 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.5262, allocations: 227.4 kB / 0.7867 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.5263, allocations: 87.03 kB / 0.7868 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.5265, allocations: 141.2 kB / 0.7869 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.527, allocations: 442.4 kB / 0.7873 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.527, allocations: 1.188 kB / 0.7873 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.527, allocations: 0 / 0.7873 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.5271, allocations: 0 / 0.7873 GB, free: 4.305 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.0008025/0.5279, allocations: 0.5994 MB / 0.7879 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5279, allocations: 14.06 kB / 0.7879 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.528, allocations: 54.45 kB / 0.788 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.5281, allocations: 38.61 kB / 0.788 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.5286, allocations: 329 kB / 0.7883 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.5286, allocations: 18.03 kB / 0.7883 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.5287, allocations: 21.12 kB / 0.7884 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.5292, allocations: 257.9 kB / 0.7886 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5292, allocations: 3.938 kB / 0.7886 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.5293, allocations: 7.125 kB / 0.7886 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.5293, allocations: 12.44 kB / 0.7886 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.5298, allocations: 179.5 kB / 0.7888 GB, free: 3.273 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.001122/0.5309, allocations: 0.8326 MB / 0.7896 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.5312, allocations: 137.2 kB / 0.7897 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.5314, allocations: 95.84 kB / 0.7898 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.5317, allocations: 499.3 kB / 0.7903 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5317, allocations: 38.66 kB / 0.7903 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.5317, allocations: 1.453 kB / 0.7903 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006972/0.5324, allocations: 256.9 kB / 0.7906 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.5325, allocations: 83.14 kB / 0.7907 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.5327, allocations: 264.5 kB / 0.7909 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5327, allocations: 32.23 kB / 0.7909 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.5328, allocations: 166.5 kB / 0.7911 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.5329, allocations: 47.2 kB / 0.7912 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.5329, allocations: 38.53 kB / 0.7912 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.533, allocations: 338.5 kB / 0.7915 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.5332, allocations: 58.77 kB / 0.7916 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5334, allocations: 120.1 kB / 0.7917 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.5338, allocations: 170 kB / 0.7918 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5338, allocations: 4 kB / 0.7918 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004319/0.5342, allocations: 212.6 kB / 0.7921 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5343, allocations: 7.062 kB / 0.7921 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5343, allocations: 0 / 0.7921 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5343, allocations: 4 kB / 0.7921 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.5346, allocations: 53.2 kB / 0.7921 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.5346, allocations: 8.406 kB / 0.7921 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.5347, allocations: 31.97 kB / 0.7922 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.5348, allocations: 4.547 kB / 0.7922 GB, free: 0.7734 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.0001019/0.5349, allocations: 142.8 kB / 0.7923 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.5349, allocations: 29.73 kB / 0.7923 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.5352, allocations: 191.5 kB / 0.7925 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5353, allocations: 3.625 kB / 0.7925 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5353, allocations: 1.125 kB / 0.7925 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5353, allocations: 7.625 kB / 0.7925 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.5359, allocations: 0.5963 MB / 0.7931 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.536, allocations: 4.125 kB / 0.7931 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.5362, allocations: 55.61 kB / 0.7932 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5362, allocations: 2.719 kB / 0.7932 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5362, allocations: 3.156 kB / 0.7932 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5362, allocations: 4.172 kB / 0.7932 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5362, allocations: 2.656 kB / 0.7932 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.5368, allocations: 441.8 kB / 0.7936 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.5369, allocations: 124.6 kB / 0.7937 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.537, allocations: 7.562 kB / 0.7937 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.5372, allocations: 17.88 kB / 0.7937 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.5372, allocations: 17.44 kB / 0.7937 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.5373, allocations: 12.09 kB / 0.7938 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001697/0.5374, allocations: 199.7 kB / 0.7939 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5374, allocations: 0 / 0.7939 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004185/0.5379, allocations: 80.97 kB / 0.794 GB, free: 15.49 MB / 0.5762 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.001211/0.5391, allocations: 1.067 MB / 0.7951 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.5396, allocations: 174.8 kB / 0.7952 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5396, allocations: 0 / 0.7952 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.5399, allocations: 111.3 kB / 0.7953 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.5407, allocations: 131.5 kB / 0.7955 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.544, allocations: 2.627 MB / 0.798 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5444, allocations: 0.7757 MB / 0.7988 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.5446, allocations: 47 kB / 0.7988 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5447, allocations: 92.73 kB / 0.7989 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.5448, allocations: 4 kB / 0.7989 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.5721, allocations: 8.252 MB / 0.807 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.924, allocations: 9.031 kB / 0.807 GB, free: 10.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)