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: translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005772/0.005772, allocations: 95.36 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.001136/0.001136, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002248, allocations: 287 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9518/0.9518, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 95.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1605, allocations: 86.97 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.3573/0.5178, allocations: 14.77 MB / 0.7808 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.5225, allocations: 3.728 MB / 0.7844 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.5229, allocations: 20.5 kB / 0.7844 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.5234, allocations: 169.4 kB / 0.7846 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009446/0.5244, allocations: 394.7 kB / 0.785 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009171/0.5253, allocations: 333.8 kB / 0.7853 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008668/0.5262, allocations: 0.7679 MB / 0.786 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.5266, allocations: 306.2 kB / 0.7863 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.5273, allocations: 375.7 kB / 0.7867 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.5276, allocations: 219.6 kB / 0.7869 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.5277, allocations: 20.91 kB / 0.7869 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.5282, allocations: 236.2 kB / 0.7872 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.5283, allocations: 80.61 kB / 0.7872 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.5284, allocations: 138.5 kB / 0.7874 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006809/0.5291, allocations: 442.7 kB / 0.7878 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5291, allocations: 1.5 kB / 0.7878 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5291, allocations: 0.6094 kB / 0.7878 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.5292, allocations: 0 / 0.7878 GB, free: 4.227 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.0008854/0.53, allocations: 0.6247 MB / 0.7884 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5301, allocations: 10.06 kB / 0.7884 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.5302, allocations: 38.8 kB / 0.7884 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.5306, allocations: 329.1 kB / 0.7888 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.5307, allocations: 14.88 kB / 0.7888 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.5307, allocations: 23.03 kB / 0.7888 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.5312, allocations: 260.2 kB / 0.789 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5313, allocations: 0.75 kB / 0.789 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.5313, allocations: 6.469 kB / 0.789 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5313, allocations: 8.5 kB / 0.7891 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.5318, allocations: 188.4 kB / 0.7892 GB, free: 3.227 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.001161/0.5329, allocations: 0.8269 MB / 0.79 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.5332, allocations: 137.9 kB / 0.7902 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.5334, allocations: 96.12 kB / 0.7903 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.5337, allocations: 0.4936 MB / 0.7907 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5337, allocations: 39.77 kB / 0.7908 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.5337, allocations: 2.812 kB / 0.7908 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007345/0.5345, allocations: 251.5 kB / 0.791 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5345, allocations: 84.44 kB / 0.7911 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5348, allocations: 267.7 kB / 0.7914 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5348, allocations: 29.17 kB / 0.7914 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5349, allocations: 178.3 kB / 0.7916 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.5349, allocations: 34.44 kB / 0.7916 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.535, allocations: 43 kB / 0.7916 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.5351, allocations: 338.1 kB / 0.792 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.5353, allocations: 59.28 kB / 0.792 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.5355, allocations: 123.2 kB / 0.7921 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.5359, allocations: 166 kB / 0.7923 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5359, allocations: 6.781 kB / 0.7923 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004774/0.5364, allocations: 215.2 kB / 0.7925 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5364, allocations: 4.719 kB / 0.7925 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5364, allocations: 4.281 kB / 0.7925 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5364, allocations: 0 / 0.7925 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.5367, allocations: 58.58 kB / 0.7926 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5367, allocations: 5.438 kB / 0.7926 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.5369, allocations: 33.44 kB / 0.7926 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.537, allocations: 9.781 kB / 0.7926 GB, free: 0.707 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.0001076/0.5371, allocations: 137.9 kB / 0.7927 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.5371, allocations: 33.81 kB / 0.7928 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.5374, allocations: 185.2 kB / 0.793 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5374, allocations: 7.359 kB / 0.793 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5375, allocations: 3.562 kB / 0.793 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5375, allocations: 0.75 kB / 0.793 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.5381, allocations: 0.5892 MB / 0.7935 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5381, allocations: 4.125 kB / 0.7935 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.5384, allocations: 54.23 kB / 0.7936 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5384, allocations: 2.781 kB / 0.7936 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5384, allocations: 7.391 kB / 0.7936 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5384, allocations: 1.031 kB / 0.7936 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5384, allocations: 2.875 kB / 0.7936 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.539, allocations: 441 kB / 0.794 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.5391, allocations: 128.9 kB / 0.7942 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.5392, allocations: 7.281 kB / 0.7942 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5394, allocations: 17.52 kB / 0.7942 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.5395, allocations: 17.94 kB / 0.7942 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.5395, allocations: 12.81 kB / 0.7942 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001768/0.5397, allocations: 193 kB / 0.7944 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5397, allocations: 0 / 0.7944 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004514/0.5402, allocations: 90.88 kB / 0.7945 GB, free: 15.44 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.0004325/0.5406, allocations: 205.9 kB / 0.7947 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005371/0.5411, allocations: 178.7 kB / 0.7948 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5412, allocations: 3 kB / 0.7948 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.5414, allocations: 109.9 kB / 0.795 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.5422, allocations: 127.1 kB / 0.7951 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.5431, allocations: 0.513 MB / 0.7956 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.5434, allocations: 0.7713 MB / 0.7963 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.5436, allocations: 57.02 kB / 0.7964 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.5436, allocations: 20.62 kB / 0.7964 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5437, allocations: 0 / 0.7964 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.01107/0.5547, allocations: 5.265 MB / 0.8015 GB, free: 13.65 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)