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.001158/0.001158, allocations: 120.3 kB / 17.09 MB, free: 5.992 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.001259/0.001259, allocations: 196.6 kB / 18.02 MB, free: 5.066 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7366/0.7366, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 71.17 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 76.17 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00243/0.1383, allocations: 1.462 MB / 0.6342 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1393, allocations: 0.6228 MB / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.1394, allocations: 0 / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.1394, allocations: 7.922 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.1395, allocations: 7.922 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.14, allocations: 165.6 kB / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.68e-05/0.1401, allocations: 55.78 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1402, allocations: 4 kB / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.1402, allocations: 19.92 kB / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1403, allocations: 27.91 kB / 0.635 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1403, allocations: 4 kB / 0.635 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.1408, allocations: 347.3 kB / 0.6354 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.1408, allocations: 19.92 kB / 0.6354 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1408, allocations: 27.86 kB / 0.6354 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1411, allocations: 171.5 kB / 0.6356 GB, free: 1.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1411, allocations: 3.938 kB / 0.6356 GB, free: 1.461 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1411, allocations: 0 / 0.6356 GB, free: 1.461 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1412, allocations: 0 / 0.6356 GB, free: 1.461 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.0006385/0.1418, allocations: 399.3 kB / 0.636 GB, free: 1.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1418, allocations: 12.03 kB / 0.636 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.1419, allocations: 12.84 kB / 0.636 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.142, allocations: 164.3 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1421, allocations: 4.375 kB / 0.6362 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1421, allocations: 8.375 kB / 0.6362 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.1423, allocations: 82.14 kB / 0.6362 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1424, allocations: 192 / 0.6362 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1424, allocations: 3.938 kB / 0.6362 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1424, allocations: 4 kB / 0.6363 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.1426, allocations: 55.95 kB / 0.6363 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1432, allocations: 324.6 kB / 0.6366 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.1435, allocations: 74.53 kB / 0.6367 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1436, allocations: 36.84 kB / 0.6367 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1436, allocations: 0 / 0.6367 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1437, allocations: 30.56 kB / 0.6368 GB, free: 112 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1437, allocations: 4 kB / 0.6368 GB, free: 108 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001652/0.1453, allocations: 0.6498 MB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1454, allocations: 51.41 kB / 0.6374 GB, free: 15.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.1455, allocations: 109.8 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1455, allocations: 25.7 kB / 0.6376 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.1455, allocations: 96.05 kB / 0.6377 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.1456, allocations: 43.39 kB / 0.6377 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.1456, allocations: 29.7 kB / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1458, allocations: 314.8 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1459, allocations: 31.97 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.146, allocations: 34.48 kB / 0.6381 GB, free: 14.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1463, allocations: 76.89 kB / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1463, allocations: 4 kB / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003061/0.1466, allocations: 121.5 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1466, allocations: 7.984 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1466, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1466, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1468, allocations: 23.98 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1468, allocations: 4.312 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.1469, allocations: 7.938 kB / 0.6383 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1469, allocations: 8.094 kB / 0.6383 GB, free: 14.34 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.898e-05/0.147, allocations: 125.7 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.147, allocations: 4 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.1474, allocations: 125.5 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1474, allocations: 4 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1474, allocations: 0 / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1475, allocations: 7.922 kB / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.148, allocations: 382.4 kB / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.148, allocations: 4 kB / 0.639 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1482, allocations: 23.98 kB / 0.639 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1482, allocations: 0 / 0.639 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1482, allocations: 11.92 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1482, allocations: 0 / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1482, allocations: 0 / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.1487, allocations: 259.5 kB / 0.6392 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.1487, allocations: 81.11 kB / 0.6393 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1488, allocations: 3.938 kB / 0.6393 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.1489, allocations: 8.016 kB / 0.6393 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.1489, allocations: 4 kB / 0.6393 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1489, allocations: 12 kB / 0.6393 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.366e-05/0.149, allocations: 83.27 kB / 0.6394 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 4.062 kB / 0.6394 GB, free: 13.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1493, allocations: 40 kB / 0.6395 GB, free: 13.07 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.0002165/0.1495, allocations: 131.2 kB / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1498, allocations: 90.75 kB / 0.6397 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1498, allocations: 0 / 0.6397 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.15, allocations: 47.91 kB / 0.6397 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.1503, allocations: 12 kB / 0.6397 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.151, allocations: 335.7 kB / 0.6401 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1513, allocations: 0.6963 MB / 0.6407 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1513, allocations: 19.44 kB / 0.6408 GB, free: 11.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1513, allocations: 0 / 0.6408 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Templates: time 0.002928/0.1542, allocations: 1.315 MB / 0.642 GB, free: 10.38 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)