Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 106.8 kB / 16.41 MB, free: 6.434 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.001662/0.001662, allocations: 197.4 kB / 17.34 MB, free: 5.742 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.723/0.723, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 58.09 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1342, allocations: 76.19 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002352/0.1366, allocations: 1.451 MB / 0.6335 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.1376, allocations: 0.6267 MB / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.1376, allocations: 3.938 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.1377, allocations: 0 / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.1377, allocations: 19.8 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.1383, allocations: 161.5 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.1384, allocations: 51.84 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.1384, allocations: 7.984 kB / 0.6343 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.1385, allocations: 15.94 kB / 0.6344 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.1385, allocations: 31.89 kB / 0.6344 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1385, allocations: 4 kB / 0.6344 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.139, allocations: 347.3 kB / 0.6347 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.139, allocations: 15.91 kB / 0.6347 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.1391, allocations: 27.88 kB / 0.6348 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1393, allocations: 175.5 kB / 0.6349 GB, free: 1.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1394, allocations: 3.938 kB / 0.6349 GB, free: 1.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1394, allocations: 0 / 0.6349 GB, free: 1.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1394, allocations: 0 / 0.6349 GB, free: 1.492 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005906/0.14, allocations: 395.3 kB / 0.6353 GB, free: 1.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.14, allocations: 12.03 kB / 0.6353 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1401, allocations: 8.844 kB / 0.6353 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1402, allocations: 168.3 kB / 0.6355 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1402, allocations: 12.38 kB / 0.6355 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.1402, allocations: 4.375 kB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.1405, allocations: 78.2 kB / 0.6356 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1405, allocations: 192 / 0.6356 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1405, allocations: 11.94 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1405, allocations: 0 / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.1408, allocations: 47.95 kB / 0.6356 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.1413, allocations: 328.6 kB / 0.636 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1416, allocations: 82.53 kB / 0.636 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1418, allocations: 32.83 kB / 0.6361 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1418, allocations: 3.938 kB / 0.6361 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1418, allocations: 38.56 kB / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1418, allocations: 0 / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001591/0.1434, allocations: 0.6461 MB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1435, allocations: 55.41 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.1435, allocations: 97.8 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1436, allocations: 29.7 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.1436, allocations: 96.03 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.1437, allocations: 43.39 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.1437, allocations: 29.72 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1438, allocations: 314.8 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1439, allocations: 31.98 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1441, allocations: 35.97 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.1443, allocations: 79.58 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1443, allocations: 4 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003081/0.1446, allocations: 117.6 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1447, allocations: 4 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1447, allocations: 0 / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1447, allocations: 0 / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1448, allocations: 27.98 kB / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1449, allocations: 0 / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.1449, allocations: 15.92 kB / 0.6377 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.1449, allocations: 0 / 0.6377 GB, free: 14.38 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 (13): * Single equations (assignments): 13 * 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 7.805e-05/0.145, allocations: 121.8 kB / 0.6378 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1451, allocations: 4 kB / 0.6378 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.1454, allocations: 129.6 kB / 0.6379 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1454, allocations: 4 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1455, allocations: 0 / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1455, allocations: 3.938 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/0.146, allocations: 386.6 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.146, allocations: 4 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1462, allocations: 27.98 kB / 0.6383 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1462, allocations: 3.984 kB / 0.6383 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1462, allocations: 3.938 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1462, allocations: 4 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1462, allocations: 4 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.1467, allocations: 263.5 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.1468, allocations: 77.11 kB / 0.6387 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1468, allocations: 7.969 kB / 0.6387 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1469, allocations: 12.08 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.147, allocations: 11.92 kB / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.147, allocations: 0 / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.147, allocations: 83.28 kB / 0.6388 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 0 / 0.6388 GB, free: 13.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1473, allocations: 36.06 kB / 0.6388 GB, free: 13.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002276/0.1476, allocations: 135.2 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1479, allocations: 87.83 kB / 0.639 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1479, allocations: 0 / 0.639 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1481, allocations: 47.91 kB / 0.6391 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1484, allocations: 9.625 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.1491, allocations: 321.7 kB / 0.6394 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1494, allocations: 0.6846 MB / 0.6401 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.1494, allocations: 20.64 kB / 0.6401 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.1495, allocations: 15.44 kB / 0.6401 GB, free: 11.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1495, allocations: 0 / 0.6401 GB, free: 11.73 MB / 494.1 MB Notification: Performance of Templates: time 0.003423/0.1529, allocations: 1.14 MB / 0.6412 GB, free: 10.63 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)