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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7858/0.7858, allocations: 143.4 MB / 159.2 MB, free: 4.848 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 184.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 447.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 103.8 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 272.6 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 75.88 kB / 0.6886 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3767, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.008628/0.3854, allocations: 10.1 MB / 0.7778 GB, free: 17.55 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.3876, allocations: 2.231 MB / 0.78 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3878, allocations: 7.938 kB / 0.78 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3882, allocations: 75.5 kB / 0.7801 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.3887, allocations: 238.9 kB / 0.7803 GB, free: 15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005618/0.3893, allocations: 203 kB / 0.7805 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.3897, allocations: 0.6008 MB / 0.7811 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.39, allocations: 126.8 kB / 0.7812 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.3903, allocations: 187.1 kB / 0.7814 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3905, allocations: 127.5 kB / 0.7815 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3905, allocations: 4 kB / 0.7815 GB, free: 13.76 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.3908, allocations: 155.6 kB / 0.7816 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.3909, allocations: 35.83 kB / 0.7817 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.3909, allocations: 75.59 kB / 0.7817 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.3913, allocations: 235.4 kB / 0.782 GB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3913, allocations: 3.938 kB / 0.782 GB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3913, allocations: 3.938 kB / 0.782 GB, free: 13.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3913, allocations: 0 / 0.782 GB, free: 13.26 MB / 458.7 MB 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.00057/0.3919, allocations: 475.5 kB / 0.7824 GB, free: 12.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3919, allocations: 12.03 kB / 0.7824 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.392, allocations: 16.75 kB / 0.7825 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3922, allocations: 244.3 kB / 0.7827 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3923, allocations: 12.38 kB / 0.7827 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3923, allocations: 12.38 kB / 0.7827 GB, free: 12.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.3926, allocations: 146.1 kB / 0.7829 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3926, allocations: 0 / 0.7829 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3926, allocations: 4 kB / 0.7829 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3926, allocations: 4 kB / 0.7829 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.3929, allocations: 87.88 kB / 0.7829 GB, free: 12.18 MB / 458.7 MB 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.0006254/0.3935, allocations: 0.5355 MB / 0.7835 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.3937, allocations: 93.11 kB / 0.7836 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3938, allocations: 61.75 kB / 0.7836 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.394, allocations: 340.4 kB / 0.7839 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.394, allocations: 34.5 kB / 0.784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.394, allocations: 0 / 0.784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004376/0.3945, allocations: 161.4 kB / 0.7841 GB, free: 10.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.3945, allocations: 89.05 kB / 0.7842 GB, free: 10.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3947, allocations: 187.2 kB / 0.7844 GB, free: 10.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3947, allocations: 29.64 kB / 0.7844 GB, free: 10.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.3947, allocations: 120.1 kB / 0.7845 GB, free: 10.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.3948, allocations: 23.66 kB / 0.7846 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.3948, allocations: 25.7 kB / 0.7846 GB, free: 10.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.3949, allocations: 327 kB / 0.7849 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.395, allocations: 35.97 kB / 0.7849 GB, free: 9.922 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3951, allocations: 63.64 kB / 0.785 GB, free: 9.848 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3953, allocations: 102.5 kB / 0.7851 GB, free: 9.738 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3953, allocations: 4 kB / 0.7851 GB, free: 9.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000247/0.3956, allocations: 133.3 kB / 0.7852 GB, free: 9.598 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3956, allocations: 4 kB / 0.7852 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3956, allocations: 0 / 0.7852 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3956, allocations: 4 kB / 0.7852 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3959, allocations: 44.02 kB / 0.7853 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3959, allocations: 0 / 0.7853 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.396, allocations: 11.98 kB / 0.7853 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.396, allocations: 4 kB / 0.7853 GB, free: 9.531 MB / 458.7 MB 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 8.442e-05/0.3961, allocations: 125.8 kB / 0.7854 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.3962, allocations: 19.75 kB / 0.7854 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.3964, allocations: 142.5 kB / 0.7856 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3964, allocations: 0 / 0.7856 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3964, allocations: 0 / 0.7856 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3964, allocations: 4 kB / 0.7856 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.3969, allocations: 468.8 kB / 0.786 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3969, allocations: 0 / 0.786 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.3971, allocations: 44.05 kB / 0.7861 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3971, allocations: 0 / 0.7861 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3971, allocations: 4 kB / 0.7861 GB, free: 8.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3971, allocations: 3.938 kB / 0.7861 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3971, allocations: 4 kB / 0.7861 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.3977, allocations: 0.9713 MB / 0.787 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.3978, allocations: 104.9 kB / 0.7871 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3979, allocations: 0 / 0.7871 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.398, allocations: 23.86 kB / 0.7871 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.3981, allocations: 11.94 kB / 0.7871 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3981, allocations: 4 kB / 0.7871 GB, free: 7.453 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.3982, allocations: 135.2 kB / 0.7873 GB, free: 7.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3982, allocations: 0 / 0.7873 GB, free: 7.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000461/0.3986, allocations: 51.98 kB / 0.7873 GB, free: 7.27 MB / 458.7 MB 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.0004214/0.3991, allocations: 194.7 kB / 0.7875 GB, free: 7.082 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.3994, allocations: 95.86 kB / 0.7876 GB, free: 6.988 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3994, allocations: 4 kB / 0.7876 GB, free: 6.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3995, allocations: 56.22 kB / 0.7877 GB, free: 6.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.4002, allocations: 75.92 kB / 0.7877 GB, free: 6.855 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.4009, allocations: 0.5168 MB / 0.7882 GB, free: 6.289 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.4011, allocations: 0.7322 MB / 0.789 GB, free: 5.531 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.096e-05/0.4012, allocations: 33.41 kB / 0.789 GB, free: 5.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.4012, allocations: 15.44 kB / 0.789 GB, free: 5.484 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.4012, allocations: 0 / 0.789 GB, free: 5.484 MB / 458.7 MB Notification: Performance of Templates: time 0.005759/0.407, allocations: 3.175 MB / 0.7921 GB, free: 2.352 MB / 458.7 MB 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)