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.0009618/0.0009618, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.0009955/0.0009955, allocations: 191.6 kB / 16.13 MB, free: 6.719 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 282.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8845/0.8845, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 91.08 kB / 0.5946 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1371, allocations: 86.98 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01334/0.1505, allocations: 14.73 MB / 0.6939 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.1544, allocations: 3.712 MB / 0.6975 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.1547, allocations: 11.94 kB / 0.6976 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.1551, allocations: 135.1 kB / 0.6977 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.1558, allocations: 370.3 kB / 0.698 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.1565, allocations: 309.2 kB / 0.6983 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008368/0.1573, allocations: 1.096 MB / 0.6994 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.1577, allocations: 260.5 kB / 0.6997 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.1582, allocations: 338.5 kB / 0.7 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1584, allocations: 226.9 kB / 0.7002 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.1585, allocations: 12 kB / 0.7002 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.1589, allocations: 207.5 kB / 0.7004 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.1589, allocations: 71.67 kB / 0.7005 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1591, allocations: 135.3 kB / 0.7006 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.1595, allocations: 414.8 kB / 0.701 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1595, allocations: 0 / 0.701 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1596, allocations: 0 / 0.701 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.1596, allocations: 3.938 kB / 0.701 GB, free: 11.08 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.0007448/0.1603, allocations: 0.6079 MB / 0.7016 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1604, allocations: 12.03 kB / 0.7016 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.1604, allocations: 54.73 kB / 0.7017 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1605, allocations: 40.47 kB / 0.7017 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.1608, allocations: 303.1 kB / 0.702 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1608, allocations: 16.81 kB / 0.702 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.1609, allocations: 24.31 kB / 0.702 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.1614, allocations: 261.3 kB / 0.7023 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1614, allocations: 0 / 0.7023 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1614, allocations: 8 kB / 0.7023 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1614, allocations: 12 kB / 0.7023 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.1619, allocations: 176.4 kB / 0.7025 GB, free: 9.473 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.001045/0.1629, allocations: 0.832 MB / 0.7033 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1632, allocations: 145.1 kB / 0.7034 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.1634, allocations: 93.73 kB / 0.7035 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.1638, allocations: 0.4908 MB / 0.704 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1638, allocations: 38.56 kB / 0.704 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1638, allocations: 0 / 0.704 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007106/0.1645, allocations: 261.2 kB / 0.7043 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1646, allocations: 81.11 kB / 0.7043 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1648, allocations: 263 kB / 0.7046 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1648, allocations: 29.7 kB / 0.7046 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1649, allocations: 168.2 kB / 0.7048 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.165, allocations: 39.45 kB / 0.7048 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.165, allocations: 37.7 kB / 0.7049 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.1652, allocations: 330.8 kB / 0.7052 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.1653, allocations: 63.94 kB / 0.7052 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1656, allocations: 117.9 kB / 0.7053 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.166, allocations: 180.4 kB / 0.7055 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.166, allocations: 0 / 0.7055 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004579/0.1664, allocations: 217.1 kB / 0.7057 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1665, allocations: 4 kB / 0.7057 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1665, allocations: 320 / 0.7057 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1665, allocations: 4 kB / 0.7057 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.1668, allocations: 55.88 kB / 0.7058 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1668, allocations: 0 / 0.7058 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.167, allocations: 51.73 kB / 0.7058 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.167, allocations: 4 kB / 0.7058 GB, free: 5.699 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.0001225/0.1671, allocations: 151 kB / 0.706 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.1672, allocations: 23.77 kB / 0.706 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.1675, allocations: 191 kB / 0.7062 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1675, allocations: 4 kB / 0.7062 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1675, allocations: 3.984 kB / 0.7062 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1675, allocations: 0 / 0.7062 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.1682, allocations: 0.5951 MB / 0.7068 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1682, allocations: 4 kB / 0.7068 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1684, allocations: 56.06 kB / 0.7068 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1685, allocations: 4 kB / 0.7068 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1685, allocations: 0 / 0.7068 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1685, allocations: 4 kB / 0.7068 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.1685, allocations: 4.031 kB / 0.7068 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.169, allocations: 447.7 kB / 0.7073 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.1691, allocations: 124.6 kB / 0.7074 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.1692, allocations: 4 kB / 0.7074 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.1694, allocations: 24.11 kB / 0.7074 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.1695, allocations: 23.84 kB / 0.7074 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1695, allocations: 12 kB / 0.7074 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001581/0.1697, allocations: 194 kB / 0.7076 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1697, allocations: 0 / 0.7076 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003964/0.1701, allocations: 87.83 kB / 0.7077 GB, free: 3.648 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.001073/0.1711, allocations: 1.08 MB / 0.7088 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1716, allocations: 167.8 kB / 0.7089 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1716, allocations: 0 / 0.7089 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.1719, allocations: 116.2 kB / 0.709 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.1727, allocations: 107 kB / 0.7091 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.1757, allocations: 2.714 MB / 0.7118 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.176, allocations: 0.7755 MB / 0.7126 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.1762, allocations: 52.75 kB / 0.7126 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1763, allocations: 87.41 kB / 0.7127 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1763, allocations: 0 / 0.7127 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.194, allocations: 7.675 MB / 0.7202 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.1942, allocations: 270.8 kB / 0.7204 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.904, allocations: 3.125 kB / 0.7204 GB, free: 6.582 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)