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.0009815/0.0009816, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.0009494/0.0009494, allocations: 193.2 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.242/1.242, allocations: 222.9 MB / 241 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.6896/0.6896, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 62.95 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1297, allocations: 76.17 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002006/0.1318, allocations: 1.272 MB / 0.6333 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.1327, allocations: 0.6191 MB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.1328, allocations: 0 / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1328, allocations: 0 / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.441e-05/0.1329, allocations: 7.938 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.1334, allocations: 149.7 kB / 0.6341 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.1334, allocations: 11.94 kB / 0.6341 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.1335, allocations: 4 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.1335, allocations: 11.98 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.1336, allocations: 11.94 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1336, allocations: 3.984 kB / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.134, allocations: 339.3 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1341, allocations: 4 kB / 0.6344 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1341, allocations: 15.92 kB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1343, allocations: 147.6 kB / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1343, allocations: 0 / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1343, allocations: 0 / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1344, allocations: 0 / 0.6346 GB, free: 1.844 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.0003738/0.1347, allocations: 355.5 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1348, allocations: 20.02 kB / 0.6349 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1348, allocations: 4.844 kB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1349, allocations: 160.4 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1349, allocations: 4.375 kB / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.135, allocations: 4.375 kB / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.28e-05/0.1351, allocations: 38.25 kB / 0.6352 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1351, allocations: 192 / 0.6352 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1351, allocations: 7.938 kB / 0.6352 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1351, allocations: 0 / 0.6352 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.1351, allocations: 11.94 kB / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1353, allocations: 157.7 kB / 0.6353 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1355, allocations: 42.7 kB / 0.6354 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.1355, allocations: 28.77 kB / 0.6354 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1355, allocations: 0 / 0.6354 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1356, allocations: 34.56 kB / 0.6354 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1356, allocations: 4 kB / 0.6354 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005678/0.1361, allocations: 322 kB / 0.6357 GB, free: 468 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1362, allocations: 51.41 kB / 0.6358 GB, free: 404 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.1362, allocations: 93.86 kB / 0.6359 GB, free: 300 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1363, allocations: 25.7 kB / 0.6359 GB, free: 268 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.1363, allocations: 84.14 kB / 0.636 GB, free: 180 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1363, allocations: 19.7 kB / 0.636 GB, free: 160 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.1364, allocations: 17.72 kB / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1365, allocations: 322.8 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.1365, allocations: 11.98 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.1365, allocations: 8 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.1366, allocations: 32.86 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1366, allocations: 0 / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.376e-05/0.1367, allocations: 69.53 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1367, allocations: 7.938 kB / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.1367, allocations: 240 / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1367, allocations: 0 / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.1368, allocations: 19.98 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1368, allocations: 3.984 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.1368, allocations: 4 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1368, allocations: 0 / 0.6365 GB, free: 15.64 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 5.96e-05/0.1369, allocations: 109.8 kB / 0.6366 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.1369, allocations: 3.938 kB / 0.6366 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1371, allocations: 89.58 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1371, allocations: 0 / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1371, allocations: 4 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1371, allocations: 0 / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1374, allocations: 315.3 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1374, allocations: 0 / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1375, allocations: 15.98 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1375, allocations: 0 / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1375, allocations: 0 / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1375, allocations: 4 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1375, allocations: 3.938 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.1376, allocations: 184.2 kB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1377, allocations: 89.12 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1377, allocations: 0 / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.1378, allocations: 0 / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1378, allocations: 7.984 kB / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1378, allocations: 4 kB / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.994e-05/0.1379, allocations: 83.86 kB / 0.6373 GB, free: 14.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1379, allocations: 4 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.1381, allocations: 23.94 kB / 0.6374 GB, free: 14.6 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.0001622/0.1383, allocations: 115.2 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.1384, allocations: 35.92 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.1384, allocations: 0 / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.1384, allocations: 19.98 kB / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1386, allocations: 8.547 kB / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.139, allocations: 204.4 kB / 0.6377 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1392, allocations: 0.6846 MB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.694e-05/0.1393, allocations: 4 kB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.1393, allocations: 11.44 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1393, allocations: 0 / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of Templates: time 0.002617/0.1419, allocations: 0.6473 MB / 0.6391 GB, free: 12.85 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)