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.001547/0.001547, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.001749/0.001749, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7115/0.7115, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.64 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1409, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002117/0.1431, allocations: 1.262 MB / 0.634 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.1441, allocations: 0.6152 MB / 0.6346 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1441, allocations: 0 / 0.6346 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1442, allocations: 0 / 0.6346 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.1442, allocations: 3.938 kB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.1447, allocations: 147.4 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.1448, allocations: 15.92 kB / 0.6347 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.1448, allocations: 8 kB / 0.6347 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.1449, allocations: 8 kB / 0.6347 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.1449, allocations: 15.91 kB / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1449, allocations: 0 / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.1454, allocations: 339.3 kB / 0.6351 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.1455, allocations: 4 kB / 0.6351 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.1455, allocations: 15.92 kB / 0.6351 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1457, allocations: 151.6 kB / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1457, allocations: 0 / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1457, allocations: 0 / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1458, allocations: 4 kB / 0.6353 GB, free: 1.805 MB / 478.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.0004149/0.1462, allocations: 355.5 kB / 0.6356 GB, free: 1.406 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1462, allocations: 8.031 kB / 0.6356 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1463, allocations: 8.844 kB / 0.6356 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1464, allocations: 164.4 kB / 0.6358 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1464, allocations: 384 / 0.6358 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1464, allocations: 8.375 kB / 0.6358 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1466, allocations: 42.19 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1466, allocations: 192 / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1466, allocations: 11.94 kB / 0.6358 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1466, allocations: 0 / 0.6358 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.1466, allocations: 4 kB / 0.6358 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1468, allocations: 157.7 kB / 0.636 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.147, allocations: 50.48 kB / 0.636 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.147, allocations: 20.94 kB / 0.636 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1471, allocations: 3.984 kB / 0.636 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1471, allocations: 34.56 kB / 0.6361 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1471, allocations: 0 / 0.6361 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005725/0.1477, allocations: 318.2 kB / 0.6364 GB, free: 436 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1477, allocations: 51.41 kB / 0.6364 GB, free: 372 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.1478, allocations: 97.84 kB / 0.6365 GB, free: 264 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1478, allocations: 25.7 kB / 0.6366 GB, free: 232 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.1479, allocations: 88.14 kB / 0.6366 GB, free: 140 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1479, allocations: 15.72 kB / 0.6367 GB, free: 124 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.1479, allocations: 21.7 kB / 0.6367 GB, free: 96 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1481, allocations: 318.8 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.775e-05/0.1481, allocations: 11.98 kB / 0.637 GB, free: 15.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.1481, allocations: 8 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.1482, allocations: 40.94 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1482, allocations: 0 / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.231e-05/0.1483, allocations: 65.59 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1483, allocations: 11.94 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1483, allocations: 0 / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1483, allocations: 0 / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.1484, allocations: 15.98 kB / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.1484, allocations: 0 / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1484, allocations: 4 kB / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1484, allocations: 3.938 kB / 0.6371 GB, free: 15.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.1485, allocations: 113.8 kB / 0.6372 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.1485, allocations: 3.938 kB / 0.6372 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.1487, allocations: 85.58 kB / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1487, allocations: 0 / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1487, allocations: 0 / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1487, allocations: 0 / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.149, allocations: 315.3 kB / 0.6376 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.149, allocations: 0 / 0.6376 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.1491, allocations: 12.19 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1491, allocations: 0 / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1491, allocations: 7.984 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1491, allocations: 11.97 kB / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1491, allocations: 0 / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1493, allocations: 180.2 kB / 0.6378 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1494, allocations: 85.12 kB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1494, allocations: 4 kB / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.1495, allocations: 0 / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.1495, allocations: 8.062 kB / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1495, allocations: 7.984 kB / 0.6379 GB, free: 14.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.324e-05/0.1495, allocations: 79.8 kB / 0.638 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1495, allocations: 0 / 0.638 GB, free: 14.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1498, allocations: 24 kB / 0.638 GB, free: 14.57 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 (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.0001777/0.15, allocations: 115.2 kB / 0.6381 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.1501, allocations: 35.92 kB / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1501, allocations: 0 / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.1501, allocations: 23.94 kB / 0.6382 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1503, allocations: 11.92 kB / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.1508, allocations: 222.1 kB / 0.6384 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1511, allocations: 0.6768 MB / 0.6391 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.1511, allocations: 11.44 kB / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1511, allocations: 0 / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Templates: time 0.002123/0.1532, allocations: 0.8084 MB / 0.6399 GB, free: 12.61 MB / 494.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)