Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007818/0.0007818, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008197/0.0008198, allocations: 168.7 kB / 15.95 MB, free: 204 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 278.3 kB / 291.4 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 11.69 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001114/0.1365, allocations: 0.9591 MB / 0.6854 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.1373, allocations: 0.5425 MB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.1373, allocations: 4 kB / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.1374, allocations: 0 / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.1374, allocations: 0 / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1378, allocations: 115.5 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.664e-05/0.1379, allocations: 7.938 kB / 0.6861 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.1379, allocations: 4 kB / 0.6861 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.1379, allocations: 0.7812 kB / 0.6861 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.138, allocations: 11.94 kB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.138, allocations: 4.688 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.1384, allocations: 331.4 kB / 0.6864 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.1385, allocations: 9.109 kB / 0.6864 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.1385, allocations: 25.7 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1386, allocations: 100.1 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1387, allocations: 0 / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1387, allocations: 1.094 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1387, allocations: 0 / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003021/0.139, allocations: 348.9 kB / 0.6869 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.139, allocations: 8.031 kB / 0.6869 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.1391, allocations: 3.953 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.762e-05/0.1392, allocations: 159.6 kB / 0.687 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1392, allocations: 10.72 kB / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1392, allocations: 0 / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.538e-05/0.1393, allocations: 37.69 kB / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.1393, allocations: 0 / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1393, allocations: 3.984 kB / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1393, allocations: 0 / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.308e-05/0.1394, allocations: 11.89 kB / 0.6871 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.1395, allocations: 151.5 kB / 0.6872 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.1395, allocations: 26.61 kB / 0.6873 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.1396, allocations: 6.578 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1396, allocations: 4 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1396, allocations: 34.62 kB / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1396, allocations: 4.812 kB / 0.6873 GB, free: 12.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001166/0.1398, allocations: 46.28 kB / 0.6874 GB, free: 12.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.1398, allocations: 51.41 kB / 0.6874 GB, free: 12.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/0.1399, allocations: 99.89 kB / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1399, allocations: 25.7 kB / 0.6875 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.1399, allocations: 80.14 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1399, allocations: 4.562 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-06/0.1399, allocations: 0 / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.14, allocations: 331 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.1401, allocations: 0 / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.1401, allocations: 4 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.398e-05/0.1401, allocations: 0 / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1401, allocations: 0 / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.05e-05/0.1402, allocations: 41.64 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1402, allocations: 10.19 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1402, allocations: 3.984 kB / 0.688 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.986e-06/0.1402, allocations: 0 / 0.688 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1403, allocations: 12.09 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003159/0.1407, allocations: 0.5859 MB / 0.6886 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.1407, allocations: 0 / 0.6886 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1407, allocations: 0 / 0.6886 GB, free: 11.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.1408, allocations: 114.5 kB / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.1408, allocations: 96 / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.584e-05/0.1409, allocations: 52.75 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1409, allocations: 3.953 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1409, allocations: 0 / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1409, allocations: 0 / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.575e-05/0.141, allocations: 149.7 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.141, allocations: 0 / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1411, allocations: 11.98 kB / 0.6889 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1411, allocations: 0 / 0.6889 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1411, allocations: 0 / 0.6889 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002693/0.1414, allocations: 0.5938 MB / 0.6895 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1414, allocations: 0 / 0.6895 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.701e-05/0.1415, allocations: 65.06 kB / 0.6895 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.1415, allocations: 81.05 kB / 0.6896 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1415, allocations: 8.016 kB / 0.6896 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.1416, allocations: 8 kB / 0.6896 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.1416, allocations: 7.922 kB / 0.6896 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.1416, allocations: 0 / 0.6896 GB, free: 9.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.1416, allocations: 79.28 kB / 0.6897 GB, free: 9.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1416, allocations: 4 kB / 0.6897 GB, free: 9.758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.1418, allocations: 4 kB / 0.6897 GB, free: 9.754 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.142, allocations: 119.2 kB / 0.6898 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1421, allocations: 28.02 kB / 0.6898 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1421, allocations: 0 / 0.6898 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/0.1422, allocations: 12 kB / 0.6899 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1424, allocations: 7 kB / 0.6899 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.1426, allocations: 103.3 kB / 0.69 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.1428, allocations: 0.6731 MB / 0.6906 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.515e-05/0.1429, allocations: 0 / 0.6906 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.1429, allocations: 11.44 kB / 0.6906 GB, free: 8.746 MB / 494.1 MB Notification: Performance of SimCode: time 2.675e-06/0.1429, allocations: 0 / 0.6906 GB, free: 8.746 MB / 494.1 MB Notification: Performance of Templates: time 0.002232/0.1451, allocations: 428.1 kB / 0.691 GB, free: 8.359 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)