Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008702/0.0008705, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009171/0.0009171, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.289/1.289, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6636/0.6636, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 12 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001063/0.1327, allocations: 0.9667 MB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005224/0.1332, allocations: 329.3 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.1332, allocations: 0 / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.1333, allocations: 0 / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.943e-05/0.1333, allocations: 4 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1336, allocations: 67.77 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.16e-05/0.1337, allocations: 15.92 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.1337, allocations: 4 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.1337, allocations: 11.94 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.1338, allocations: 11.91 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1338, allocations: 4 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1341, allocations: 175.7 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.1341, allocations: 11.92 kB / 0.5584 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.1341, allocations: 29.7 kB / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1342, allocations: 44.17 kB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1342, allocations: 0 / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1342, allocations: 4 kB / 0.5585 GB, free: 9.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1343, allocations: 4 kB / 0.5585 GB, free: 9.91 MB / 430.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.0003089/0.1346, allocations: 335.4 kB / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1346, allocations: 12.02 kB / 0.5588 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1347, allocations: 7.906 kB / 0.5588 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.1348, allocations: 163.1 kB / 0.559 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1348, allocations: 3.984 kB / 0.559 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1348, allocations: 8 kB / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.1349, allocations: 33.66 kB / 0.559 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1349, allocations: 8 kB / 0.559 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1349, allocations: 7.984 kB / 0.559 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1349, allocations: 3.938 kB / 0.559 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.135, allocations: 4 kB / 0.559 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1351, allocations: 157.7 kB / 0.5592 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1353, allocations: 42.61 kB / 0.5592 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1353, allocations: 0 / 0.5592 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1353, allocations: 34.56 kB / 0.5593 GB, free: 8.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1353, allocations: 0 / 0.5593 GB, free: 8.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005443/0.1359, allocations: 318.5 kB / 0.5596 GB, free: 8.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1359, allocations: 51.41 kB / 0.5596 GB, free: 8.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.136, allocations: 97.84 kB / 0.5597 GB, free: 8.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.136, allocations: 25.7 kB / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.136, allocations: 84.14 kB / 0.5598 GB, free: 8.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1361, allocations: 23.7 kB / 0.5598 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1361, allocations: 4 kB / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.1362, allocations: 314.8 kB / 0.5601 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.1362, allocations: 15.98 kB / 0.5602 GB, free: 7.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.1362, allocations: 8 kB / 0.5602 GB, free: 7.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.1363, allocations: 12 kB / 0.5602 GB, free: 7.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1363, allocations: 0 / 0.5602 GB, free: 7.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.142e-05/0.1364, allocations: 69.77 kB / 0.5602 GB, free: 7.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1364, allocations: 9.984 kB / 0.5603 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1364, allocations: 8.016 kB / 0.5603 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1364, allocations: 0 / 0.5603 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.1365, allocations: 12 kB / 0.5603 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1365, allocations: 3.984 kB / 0.5603 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.1365, allocations: 8.062 kB / 0.5603 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1365, allocations: 7.984 kB / 0.5603 GB, free: 7.797 MB / 430.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.076e-05/0.1366, allocations: 105.8 kB / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.1366, allocations: 7.906 kB / 0.5604 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.1368, allocations: 77.55 kB / 0.5605 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1368, allocations: 4 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1368, allocations: 0 / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1368, allocations: 3.984 kB / 0.5605 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.1371, allocations: 303.5 kB / 0.5608 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1371, allocations: 3.938 kB / 0.5608 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.1372, allocations: 15.95 kB / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1372, allocations: 0 / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1372, allocations: 0 / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1372, allocations: 4 kB / 0.5608 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1372, allocations: 4.031 kB / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.1374, allocations: 186.1 kB / 0.561 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1374, allocations: 93.03 kB / 0.5611 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1374, allocations: 0 / 0.5611 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1375, allocations: 0 / 0.5611 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.1376, allocations: 12 kB / 0.5611 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1376, allocations: 4 kB / 0.5611 GB, free: 6.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.1376, allocations: 83.27 kB / 0.5612 GB, free: 6.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1376, allocations: 0 / 0.5612 GB, free: 6.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1379, allocations: 23.94 kB / 0.5612 GB, free: 6.766 MB / 430.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.0001629/0.138, allocations: 123.8 kB / 0.5613 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.905e-05/0.1381, allocations: 32.17 kB / 0.5613 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1381, allocations: 0 / 0.5613 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.1382, allocations: 27.94 kB / 0.5614 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1383, allocations: 3.953 kB / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.1387, allocations: 221.9 kB / 0.5616 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1389, allocations: 0.6848 MB / 0.5622 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.139, allocations: 4 kB / 0.5622 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.139, allocations: 11.44 kB / 0.5623 GB, free: 5.598 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.139, allocations: 0 / 0.5623 GB, free: 5.598 MB / 430.1 MB Notification: Performance of Templates: time 0.002457/0.1415, allocations: 0.6133 MB / 0.5629 GB, free: 5.02 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)