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.0009927/0.0009927, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001215/0.001215, allocations: 173.4 kB / 16.27 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001645/0.001645, allocations: 274.9 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8916/0.8916, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 10.09 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01284/0.1522, allocations: 14.21 MB / 0.6991 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004064/0.1563, allocations: 3.665 MB / 0.7027 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1565, allocations: 15.88 kB / 0.7027 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.1569, allocations: 127.1 kB / 0.7028 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.1577, allocations: 382.3 kB / 0.7032 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.1583, allocations: 305.5 kB / 0.7035 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009312/0.1593, allocations: 1.096 MB / 0.7045 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.1596, allocations: 251.2 kB / 0.7048 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.1601, allocations: 326.5 kB / 0.7051 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1604, allocations: 218.9 kB / 0.7053 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.1604, allocations: 12 kB / 0.7053 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.1608, allocations: 207.5 kB / 0.7055 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.1609, allocations: 59.73 kB / 0.7056 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.161, allocations: 153 kB / 0.7057 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1615, allocations: 414.7 kB / 0.7061 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1615, allocations: 0 / 0.7061 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1615, allocations: 0 / 0.7061 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1615, allocations: 0 / 0.7061 GB, free: 9.562 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.0006942/0.1622, allocations: 0.5574 MB / 0.7067 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1622, allocations: 8.031 kB / 0.7067 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.1623, allocations: 58.67 kB / 0.7067 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.1624, allocations: 36.56 kB / 0.7068 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1627, allocations: 314.9 kB / 0.7071 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1627, allocations: 16.81 kB / 0.7071 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1628, allocations: 24.38 kB / 0.7071 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.1633, allocations: 269.3 kB / 0.7074 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1633, allocations: 3.938 kB / 0.7074 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.1633, allocations: 12 kB / 0.7074 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1633, allocations: 4 kB / 0.7074 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.1638, allocations: 204.4 kB / 0.7076 GB, free: 7.965 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.001075/0.1649, allocations: 0.8359 MB / 0.7084 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1652, allocations: 153.1 kB / 0.7085 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1654, allocations: 93.66 kB / 0.7086 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.1658, allocations: 0.4988 MB / 0.7091 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1658, allocations: 38.5 kB / 0.7091 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1658, allocations: 0 / 0.7091 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007338/0.1666, allocations: 289.4 kB / 0.7094 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1666, allocations: 81.05 kB / 0.7095 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1668, allocations: 271 kB / 0.7098 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1669, allocations: 29.7 kB / 0.7098 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.167, allocations: 172.2 kB / 0.7099 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.167, allocations: 39.45 kB / 0.71 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1671, allocations: 13.72 kB / 0.71 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1672, allocations: 334.8 kB / 0.7103 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1674, allocations: 75.94 kB / 0.7104 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.1676, allocations: 126.3 kB / 0.7105 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.168, allocations: 200.2 kB / 0.7107 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.168, allocations: 0 / 0.7107 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004888/0.1685, allocations: 233.1 kB / 0.7109 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1686, allocations: 8.094 kB / 0.7109 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1686, allocations: 7.984 kB / 0.7109 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1686, allocations: 0 / 0.7109 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.1689, allocations: 63.94 kB / 0.711 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1689, allocations: 11.94 kB / 0.711 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.1691, allocations: 35.81 kB / 0.711 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.1691, allocations: 8 kB / 0.711 GB, free: 4.086 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.0001265/0.1693, allocations: 155 kB / 0.7112 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.1693, allocations: 31.62 kB / 0.7112 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.1696, allocations: 186.9 kB / 0.7114 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1696, allocations: 4 kB / 0.7114 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1697, allocations: 3.984 kB / 0.7114 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1697, allocations: 0 / 0.7114 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.1704, allocations: 0.5952 MB / 0.712 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1704, allocations: 0 / 0.712 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1706, allocations: 71.88 kB / 0.7121 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1706, allocations: 4.125 kB / 0.7121 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1707, allocations: 4 kB / 0.7121 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1707, allocations: 4 kB / 0.7121 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1707, allocations: 0 / 0.7121 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.1713, allocations: 475.7 kB / 0.7125 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.1714, allocations: 132.6 kB / 0.7127 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1714, allocations: 0 / 0.7127 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.1716, allocations: 27.98 kB / 0.7127 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1717, allocations: 19.91 kB / 0.7127 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1717, allocations: 12.12 kB / 0.7127 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001583/0.1719, allocations: 194 kB / 0.7129 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1719, allocations: 0 / 0.7129 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003954/0.1723, allocations: 83.83 kB / 0.713 GB, free: 1.984 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.001121/0.1734, allocations: 1.096 MB / 0.714 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.1739, allocations: 195.9 kB / 0.7142 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1739, allocations: 0 / 0.7142 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.1742, allocations: 120.1 kB / 0.7143 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.1751, allocations: 117.5 kB / 0.7145 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.1783, allocations: 2.789 MB / 0.7172 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1786, allocations: 0.7677 MB / 0.7179 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.1788, allocations: 56.62 kB / 0.718 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1789, allocations: 87.41 kB / 0.7181 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1789, allocations: 0 / 0.7181 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.1965, allocations: 7.555 MB / 0.7254 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.1968, allocations: 265.2 kB / 0.7257 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.904, allocations: 3.938 kB / 0.7257 GB, free: 4.93 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)