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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008738, allocations: 101.9 kB / 15.06 MB, free: 1.098 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.0009499/0.0009499, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001644/0.001644, allocations: 270.7 kB / 291.2 MB, free: 2.008 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7437/0.7437, allocations: 144.6 MB / 487 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 18.28 kB / 0.5683 GB, free: 38.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 83.08 MB / 0.6494 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.008886/0.1344, allocations: 8.538 MB / 0.6578 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1368, allocations: 1.87 MB / 0.6596 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.1371, allocations: 7.938 kB / 0.6596 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.1376, allocations: 113.7 kB / 0.6597 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006135/0.1382, allocations: 221.8 kB / 0.6599 GB, free: 8.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.1391, allocations: 343.3 kB / 0.6602 GB, free: 8.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.1395, allocations: 252.4 kB / 0.6605 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.1397, allocations: 108.3 kB / 0.6606 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.1401, allocations: 155.5 kB / 0.6607 GB, free: 8.008 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1402, allocations: 75.62 kB / 0.6608 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1402, allocations: 4 kB / 0.6608 GB, free: 7.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.1405, allocations: 115.8 kB / 0.6609 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.1405, allocations: 31.84 kB / 0.661 GB, free: 7.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.1406, allocations: 49.64 kB / 0.661 GB, free: 7.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1408, allocations: 155.7 kB / 0.6612 GB, free: 7.582 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1408, allocations: 8 kB / 0.6612 GB, free: 7.574 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1408, allocations: 0 / 0.6612 GB, free: 7.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1408, allocations: 0 / 0.6612 GB, free: 7.574 MB / 462.1 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.0005179/0.1414, allocations: 446.7 kB / 0.6616 GB, free: 7.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1414, allocations: 8.031 kB / 0.6616 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.1415, allocations: 19.77 kB / 0.6616 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1417, allocations: 238.6 kB / 0.6618 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1418, allocations: 16 kB / 0.6619 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1418, allocations: 8 kB / 0.6619 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.1421, allocations: 137.4 kB / 0.662 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1421, allocations: 4 kB / 0.662 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1421, allocations: 4 kB / 0.662 GB, free: 6.613 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1421, allocations: 3.938 kB / 0.662 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.1424, allocations: 107.9 kB / 0.6621 GB, free: 6.504 MB / 462.1 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.0007311/0.1431, allocations: 0.5594 MB / 0.6627 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1433, allocations: 97.17 kB / 0.6627 GB, free: 5.777 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.1436, allocations: 336.5 kB / 0.6631 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1436, allocations: 30.56 kB / 0.6631 GB, free: 5.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1436, allocations: 0 / 0.6631 GB, free: 5.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004413/0.1441, allocations: 181.3 kB / 0.6633 GB, free: 5.152 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1441, allocations: 81.11 kB / 0.6633 GB, free: 5.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1443, allocations: 179.8 kB / 0.6635 GB, free: 4.871 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1443, allocations: 29.83 kB / 0.6635 GB, free: 4.836 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1444, allocations: 124.1 kB / 0.6637 GB, free: 4.711 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1444, allocations: 23.66 kB / 0.6637 GB, free: 4.688 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1444, allocations: 0 / 0.6637 GB, free: 4.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1445, allocations: 326.8 kB / 0.664 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1446, allocations: 39.97 kB / 0.664 GB, free: 4.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1448, allocations: 71.39 kB / 0.6641 GB, free: 4.238 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1449, allocations: 47.97 kB / 0.6641 GB, free: 4.191 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1449, allocations: 0 / 0.6641 GB, free: 4.191 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002737/0.1452, allocations: 145.3 kB / 0.6643 GB, free: 4.043 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1452, allocations: 4 kB / 0.6643 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1452, allocations: 4 kB / 0.6643 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1452, allocations: 0 / 0.6643 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1454, allocations: 48.02 kB / 0.6643 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1455, allocations: 4 kB / 0.6643 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1456, allocations: 15.98 kB / 0.6644 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1456, allocations: 8 kB / 0.6644 GB, free: 3.961 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/0.1457, allocations: 129.8 kB / 0.6645 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1458, allocations: 19.75 kB / 0.6645 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.146, allocations: 130.5 kB / 0.6646 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.146, allocations: 0 / 0.6646 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.146, allocations: 4 kB / 0.6646 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.146, allocations: 0 / 0.6646 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.1465, allocations: 476.9 kB / 0.6651 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1466, allocations: 0 / 0.6651 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.1467, allocations: 43.95 kB / 0.6651 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1468, allocations: 8.094 kB / 0.6651 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1468, allocations: 4 kB / 0.6651 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1468, allocations: 3.938 kB / 0.6652 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1468, allocations: 3.938 kB / 0.6652 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.1472, allocations: 415.9 kB / 0.6656 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.1473, allocations: 104.9 kB / 0.6657 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1473, allocations: 7.984 kB / 0.6657 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1475, allocations: 12.19 kB / 0.6657 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1475, allocations: 11.92 kB / 0.6657 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1475, allocations: 8 kB / 0.6657 GB, free: 2.453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1477, allocations: 143.3 kB / 0.6658 GB, free: 2.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 0 / 0.6658 GB, free: 2.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.148, allocations: 52 kB / 0.6659 GB, free: 2.262 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.1483, allocations: 174 kB / 0.666 GB, free: 2.094 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.1486, allocations: 107.9 kB / 0.6661 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1486, allocations: 0 / 0.6661 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1488, allocations: 67.98 kB / 0.6662 GB, free: 1.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1493, allocations: 82.7 kB / 0.6663 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.1498, allocations: 391.8 kB / 0.6667 GB, free: 1.418 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.15, allocations: 0.7283 MB / 0.6674 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.93e-05/0.1501, allocations: 33.33 kB / 0.6674 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1501, allocations: 23.44 kB / 0.6674 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1502, allocations: 0 / 0.6674 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of Templates: time 0.005719/0.1559, allocations: 3.002 MB / 0.6704 GB, free: 13.66 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: