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.00119/0.00119, 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.001302/0.001302, allocations: 195.7 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 1.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 282.6 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8962/0.8962, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001755, allocations: 102.2 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 86.97 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01559/0.1612, allocations: 14.77 MB / 0.6947 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.1656, allocations: 3.727 MB / 0.6983 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.166, allocations: 15.88 kB / 0.6984 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.1665, allocations: 170.7 kB / 0.6985 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008316/0.1674, allocations: 402 kB / 0.6989 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.1682, allocations: 320.7 kB / 0.6992 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.1689, allocations: 0.7803 MB / 0.7 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.1693, allocations: 292 kB / 0.7002 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.1699, allocations: 378.5 kB / 0.7006 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1702, allocations: 227 kB / 0.7008 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.1702, allocations: 20 kB / 0.7008 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.1707, allocations: 231.5 kB / 0.7011 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.1708, allocations: 71.75 kB / 0.7011 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1709, allocations: 139.3 kB / 0.7013 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.1714, allocations: 434.7 kB / 0.7017 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1714, allocations: 4 kB / 0.7017 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1714, allocations: 0 / 0.7017 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1715, allocations: 3.938 kB / 0.7017 GB, free: 10.62 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.0008151/0.1723, allocations: 0.604 MB / 0.7023 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1723, allocations: 8.031 kB / 0.7023 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.1724, allocations: 54.73 kB / 0.7023 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.1724, allocations: 36.47 kB / 0.7024 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.1728, allocations: 311 kB / 0.7027 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1728, allocations: 24.8 kB / 0.7027 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.1729, allocations: 24.38 kB / 0.7027 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.1734, allocations: 253.3 kB / 0.703 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1734, allocations: 0 / 0.703 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1734, allocations: 8 kB / 0.703 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1734, allocations: 8 kB / 0.703 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.1739, allocations: 194 kB / 0.7032 GB, free: 9.008 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.001097/0.175, allocations: 0.8242 MB / 0.704 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.1753, allocations: 145.1 kB / 0.7041 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.1755, allocations: 93.64 kB / 0.7042 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/0.1759, allocations: 498.6 kB / 0.7047 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1759, allocations: 42.55 kB / 0.7047 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1759, allocations: 0 / 0.7047 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007423/0.1767, allocations: 257.3 kB / 0.7049 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1767, allocations: 85.11 kB / 0.705 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.177, allocations: 267 kB / 0.7053 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.177, allocations: 29.64 kB / 0.7053 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1772, allocations: 172.2 kB / 0.7055 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1772, allocations: 31.47 kB / 0.7055 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.1773, allocations: 37.7 kB / 0.7055 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1774, allocations: 334.8 kB / 0.7059 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1776, allocations: 67.94 kB / 0.7059 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.1778, allocations: 121.2 kB / 0.706 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.1782, allocations: 172.1 kB / 0.7062 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1782, allocations: 0 / 0.7062 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004678/0.1787, allocations: 213.5 kB / 0.7064 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1787, allocations: 7.938 kB / 0.7064 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1787, allocations: 4.062 kB / 0.7064 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1788, allocations: 4 kB / 0.7064 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.179, allocations: 55.94 kB / 0.7065 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.179, allocations: 0 / 0.7065 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.1792, allocations: 35.77 kB / 0.7065 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1793, allocations: 12 kB / 0.7065 GB, free: 5.246 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.0001223/0.1794, allocations: 151 kB / 0.7067 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.1795, allocations: 27.7 kB / 0.7067 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.1797, allocations: 187.2 kB / 0.7069 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1798, allocations: 0 / 0.7069 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1798, allocations: 8 kB / 0.7069 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1798, allocations: 0 / 0.7069 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.1805, allocations: 0.5951 MB / 0.7075 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1805, allocations: 0 / 0.7075 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1807, allocations: 60.06 kB / 0.7075 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1807, allocations: 0 / 0.7075 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1808, allocations: 4 kB / 0.7075 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1808, allocations: 3.938 kB / 0.7075 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1808, allocations: 4 kB / 0.7075 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.1813, allocations: 433.7 kB / 0.7079 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1814, allocations: 132.6 kB / 0.7081 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.1815, allocations: 0 / 0.7081 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1817, allocations: 23.92 kB / 0.7081 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.1817, allocations: 23.84 kB / 0.7081 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1818, allocations: 12 kB / 0.7081 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001539/0.1819, allocations: 194 kB / 0.7083 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 0 / 0.7083 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000413/0.1823, allocations: 83.83 kB / 0.7084 GB, free: 3.203 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.001125/0.1835, allocations: 1.075 MB / 0.7094 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.184, allocations: 187.7 kB / 0.7096 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.184, allocations: 0 / 0.7096 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.1843, allocations: 103.9 kB / 0.7097 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/0.1851, allocations: 110.5 kB / 0.7098 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.1883, allocations: 2.64 MB / 0.7124 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1886, allocations: 0.7753 MB / 0.7132 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.1888, allocations: 54.33 kB / 0.7132 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1889, allocations: 87.41 kB / 0.7133 GB, free: 14 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.1889, allocations: 3.938 kB / 0.7133 GB, free: 14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4331/0.622, allocations: 8.069 MB / 0.7212 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.732, allocations: 6.562 kB / 0.7212 GB, free: 6.145 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 & /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)