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.0009616/0.0009616, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009922/0.0009922, allocations: 187.6 kB / 16.25 MB, free: 6.617 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.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001946/0.001946, allocations: 283 kB / 290.3 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8924/0.8924, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 96.92 kB / 0.5948 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1303, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01468/0.145, allocations: 14.7 MB / 0.6941 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.149, allocations: 3.696 MB / 0.6977 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.1492, allocations: 7.938 kB / 0.6977 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.1497, allocations: 155 kB / 0.6978 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007143/0.1504, allocations: 378.3 kB / 0.6982 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.1511, allocations: 296 kB / 0.6985 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.1518, allocations: 0.7725 MB / 0.6992 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.1521, allocations: 288 kB / 0.6995 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.1527, allocations: 378.5 kB / 0.6999 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1529, allocations: 226.9 kB / 0.7001 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.1529, allocations: 24 kB / 0.7001 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.1533, allocations: 235.5 kB / 0.7003 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.1534, allocations: 79.62 kB / 0.7004 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1535, allocations: 143.3 kB / 0.7006 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.154, allocations: 430.8 kB / 0.701 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.154, allocations: 3.938 kB / 0.701 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.154, allocations: 0 / 0.701 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.154, allocations: 0 / 0.701 GB, free: 11.16 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.0007303/0.1547, allocations: 0.6001 MB / 0.7016 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1548, allocations: 8.031 kB / 0.7016 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.1548, allocations: 58.73 kB / 0.7016 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.1549, allocations: 40.47 kB / 0.7017 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.1552, allocations: 311.1 kB / 0.702 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1552, allocations: 20.75 kB / 0.702 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1553, allocations: 20.38 kB / 0.702 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.1558, allocations: 253.3 kB / 0.7022 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.1558, allocations: 4 kB / 0.7022 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.1558, allocations: 12 kB / 0.7022 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1558, allocations: 4 kB / 0.7023 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.1563, allocations: 184.4 kB / 0.7024 GB, free: 9.551 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.001025/0.1573, allocations: 0.8359 MB / 0.7032 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.1576, allocations: 145.1 kB / 0.7034 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1578, allocations: 85.66 kB / 0.7035 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.1581, allocations: 0.491 MB / 0.7039 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1582, allocations: 38.53 kB / 0.704 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.1582, allocations: 0 / 0.704 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006958/0.1589, allocations: 261.2 kB / 0.7042 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1589, allocations: 81.11 kB / 0.7043 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1591, allocations: 263 kB / 0.7046 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1592, allocations: 37.64 kB / 0.7046 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.1593, allocations: 164.2 kB / 0.7048 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.1593, allocations: 43.45 kB / 0.7048 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.1594, allocations: 29.72 kB / 0.7048 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.1595, allocations: 334.8 kB / 0.7051 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.1597, allocations: 63.94 kB / 0.7052 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.1599, allocations: 121.9 kB / 0.7053 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.1603, allocations: 172.1 kB / 0.7055 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1603, allocations: 0 / 0.7055 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004525/0.1608, allocations: 213.2 kB / 0.7057 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1608, allocations: 10.34 kB / 0.7057 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1608, allocations: 0 / 0.7057 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1608, allocations: 3.938 kB / 0.7057 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.1611, allocations: 52.31 kB / 0.7057 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1611, allocations: 8.094 kB / 0.7058 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1613, allocations: 43.61 kB / 0.7058 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.1613, allocations: 11.98 kB / 0.7058 GB, free: 5.777 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.0001168/0.1615, allocations: 151 kB / 0.706 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.1615, allocations: 23.72 kB / 0.706 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.1618, allocations: 186.6 kB / 0.7062 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1618, allocations: 0 / 0.7062 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1618, allocations: 4 kB / 0.7062 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1618, allocations: 0 / 0.7062 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.1625, allocations: 0.599 MB / 0.7067 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1625, allocations: 8.109 kB / 0.7068 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1628, allocations: 47.95 kB / 0.7068 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1628, allocations: 0 / 0.7068 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1628, allocations: 4 kB / 0.7068 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1628, allocations: 0 / 0.7068 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1628, allocations: 11.92 kB / 0.7068 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.1633, allocations: 437.7 kB / 0.7072 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.1635, allocations: 124.6 kB / 0.7073 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1635, allocations: 4 kB / 0.7074 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1637, allocations: 27.91 kB / 0.7074 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.1638, allocations: 23.86 kB / 0.7074 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1638, allocations: 8 kB / 0.7074 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001498/0.164, allocations: 193.9 kB / 0.7076 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.164, allocations: 4 kB / 0.7076 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003971/0.1644, allocations: 87.84 kB / 0.7077 GB, free: 3.734 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.001036/0.1654, allocations: 1.072 MB / 0.7087 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1659, allocations: 183.7 kB / 0.7089 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1659, allocations: 0 / 0.7089 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.1662, allocations: 108.1 kB / 0.709 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.1669, allocations: 114.4 kB / 0.7091 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.1699, allocations: 2.73 MB / 0.7118 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1702, allocations: 0.7714 MB / 0.7125 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.1704, allocations: 54.19 kB / 0.7126 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1705, allocations: 87.41 kB / 0.7127 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1705, allocations: 0 / 0.7127 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.1885, allocations: 7.861 MB / 0.7203 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.1888, allocations: 273.8 kB / 0.7206 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.008, allocations: 0 / 0.7206 GB, free: 6.492 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)