Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007974/0.0007974, allocations: 84.38 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.0008138/0.0008138, 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.315/1.315, 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.00175/0.00175, allocations: 258.7 kB / 291.3 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004175, allocations: 11.31 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1449, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00113/0.146, allocations: 0.9921 MB / 0.6855 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.1469, allocations: 0.5605 MB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.147, allocations: 0 / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.147, allocations: 3.984 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.147, allocations: 7.938 kB / 0.686 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1475, allocations: 124.6 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.1476, allocations: 19.94 kB / 0.6862 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.1476, allocations: 0 / 0.6862 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.1476, allocations: 4.562 kB / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.1477, allocations: 15.92 kB / 0.6862 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.1477, allocations: 1.406 kB / 0.6862 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.1482, allocations: 335.3 kB / 0.6865 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.1482, allocations: 4 kB / 0.6865 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1482, allocations: 27.02 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1484, allocations: 100.1 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1484, allocations: 0 / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1484, allocations: 3.938 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1484, allocations: 0.9062 kB / 0.6866 GB, free: 13.29 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003548/0.1488, allocations: 353 kB / 0.687 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1488, allocations: 12.03 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.1488, allocations: 3.953 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.149, allocations: 170.9 kB / 0.6871 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.149, allocations: 8.75 kB / 0.6872 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.149, allocations: 0 / 0.6872 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1491, allocations: 42.34 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.1491, allocations: 3.938 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1491, allocations: 2.469 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1491, allocations: 0 / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.1492, allocations: 15.95 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1493, allocations: 153.7 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1495, allocations: 48.61 kB / 0.6874 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.1496, allocations: 20.94 kB / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1496, allocations: 0 / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1496, allocations: 31.19 kB / 0.6875 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1496, allocations: 1.719 kB / 0.6875 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005662/0.1502, allocations: 302.5 kB / 0.6877 GB, free: 11.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.1502, allocations: 51.41 kB / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.1503, allocations: 110.7 kB / 0.6879 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1503, allocations: 25.7 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.1504, allocations: 80.86 kB / 0.688 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1504, allocations: 28.95 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1504, allocations: 0 / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.1505, allocations: 318.8 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.1505, allocations: 12.69 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.1506, allocations: 8 kB / 0.6884 GB, free: 11.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.1506, allocations: 16.61 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1506, allocations: 4 kB / 0.6884 GB, free: 11.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.509e-05/0.1507, allocations: 61.7 kB / 0.6884 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1507, allocations: 4 kB / 0.6884 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1507, allocations: 0 / 0.6884 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1508, allocations: 3.984 kB / 0.6884 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.1508, allocations: 12 kB / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1508, allocations: 0 / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.1508, allocations: 3.953 kB / 0.6885 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1508, allocations: 4 kB / 0.6885 GB, free: 11.17 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 (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 6.464e-05/0.1509, allocations: 122.4 kB / 0.6886 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1509, allocations: 7.906 kB / 0.6886 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1511, allocations: 69.64 kB / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1511, allocations: 0 / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1511, allocations: 0 / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1511, allocations: 0 / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.1514, allocations: 323.3 kB / 0.689 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1514, allocations: 0 / 0.689 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.1515, allocations: 15.98 kB / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1515, allocations: 4.031 kB / 0.689 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1515, allocations: 4.188 kB / 0.689 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1515, allocations: 4 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1515, allocations: 3.953 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1517, allocations: 176.3 kB / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.1517, allocations: 85.05 kB / 0.6892 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1517, allocations: 64 / 0.6892 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.1518, allocations: 8 kB / 0.6892 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1518, allocations: 15.88 kB / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1519, allocations: 4 kB / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.849e-05/0.1519, allocations: 75.28 kB / 0.6893 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 0.6893 GB, free: 10.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1521, allocations: 24 kB / 0.6894 GB, free: 10.13 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001542/0.1523, allocations: 123.2 kB / 0.6895 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.342e-05/0.1524, allocations: 32.23 kB / 0.6895 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1524, allocations: 0 / 0.6895 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.1524, allocations: 23.92 kB / 0.6895 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1527, allocations: 4.75 kB / 0.6895 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.153, allocations: 214.2 kB / 0.6897 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1533, allocations: 0.6809 MB / 0.6904 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.1533, allocations: 11.92 kB / 0.6904 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.1533, allocations: 15.44 kB / 0.6904 GB, free: 8.969 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1533, allocations: 0 / 0.6904 GB, free: 8.969 MB / 494.1 MB Notification: Performance of Templates: time 0.002515/0.1559, allocations: 0.6288 MB / 0.691 GB, free: 8.383 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)