Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.697/0.697, allocations: 128.7 MB / 144.5 MB, free: 1.379 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 181.9 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 98.28 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009959/0.000996, allocations: 56.05 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.133, allocations: 75.47 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002355/0.1354, allocations: 1.526 MB / 0.6332 GB, free: 31.47 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.1363, allocations: 0.6468 MB / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.1363, allocations: 0 / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.1364, allocations: 0 / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.1365, allocations: 7.938 kB / 0.6338 GB, free: 30.81 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.1369, allocations: 127.6 kB / 0.6339 GB, free: 30.69 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.137, allocations: 59.53 kB / 0.634 GB, free: 30.63 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.137, allocations: 8 kB / 0.634 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.1371, allocations: 23.91 kB / 0.634 GB, free: 30.6 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1371, allocations: 31.84 kB / 0.6341 GB, free: 30.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1371, allocations: 4 kB / 0.6341 GB, free: 30.56 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.1375, allocations: 343.3 kB / 0.6344 GB, free: 30.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1375, allocations: 8 kB / 0.6344 GB, free: 30.22 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.1376, allocations: 23.86 kB / 0.6344 GB, free: 30.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1378, allocations: 175.8 kB / 0.6346 GB, free: 30.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1378, allocations: 0 / 0.6346 GB, free: 30.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1378, allocations: 0 / 0.6346 GB, free: 30.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1378, allocations: 4 kB / 0.6346 GB, free: 30.02 MB / 442.7 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.0004801/0.1383, allocations: 395.4 kB / 0.635 GB, free: 29.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.1383, allocations: 8.031 kB / 0.635 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.1384, allocations: 12.83 kB / 0.635 GB, free: 29.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.029e-05/0.1384, allocations: 168.3 kB / 0.6352 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1385, allocations: 4.375 kB / 0.6352 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1385, allocations: 4.375 kB / 0.6352 GB, free: 29.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.1389, allocations: 115.4 kB / 0.6353 GB, free: 29.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.139, allocations: 192 / 0.6353 GB, free: 29.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.139, allocations: 11.88 kB / 0.6353 GB, free: 29.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.139, allocations: 0 / 0.6353 GB, free: 29.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.1394, allocations: 75.92 kB / 0.6354 GB, free: 29.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1398, allocations: 324.6 kB / 0.6357 GB, free: 28.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.1403, allocations: 110.4 kB / 0.6358 GB, free: 28.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.1404, allocations: 28.83 kB / 0.6358 GB, free: 28.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.1406, allocations: 93.09 kB / 0.6359 GB, free: 28.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1406, allocations: 34.56 kB / 0.6359 GB, free: 28.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1406, allocations: 0 / 0.6359 GB, free: 28.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.003915/0.1445, allocations: 0.9577 MB / 0.6369 GB, free: 27.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.1445, allocations: 55.5 kB / 0.6369 GB, free: 27.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.1446, allocations: 109.7 kB / 0.637 GB, free: 27.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1446, allocations: 25.7 kB / 0.637 GB, free: 27.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.1447, allocations: 95.98 kB / 0.6371 GB, free: 27.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1447, allocations: 35.45 kB / 0.6372 GB, free: 27.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.1448, allocations: 33.64 kB / 0.6372 GB, free: 27.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.1448, allocations: 314.8 kB / 0.6375 GB, free: 26.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.145, allocations: 59.95 kB / 0.6375 GB, free: 26.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.1452, allocations: 59.89 kB / 0.6376 GB, free: 26.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.1456, allocations: 107.2 kB / 0.6377 GB, free: 26.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1456, allocations: 0 / 0.6377 GB, free: 26.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004531/0.1461, allocations: 165.6 kB / 0.6379 GB, free: 26.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1461, allocations: 4 kB / 0.6379 GB, free: 26.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1461, allocations: 7.984 kB / 0.6379 GB, free: 26.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1461, allocations: 0 / 0.6379 GB, free: 26.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.1464, allocations: 39.91 kB / 0.6379 GB, free: 26.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1464, allocations: 0 / 0.6379 GB, free: 26.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1467, allocations: 31.91 kB / 0.6379 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1467, allocations: 0 / 0.6379 GB, free: 26.25 MB / 442.7 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 5.991e-05/0.1467, allocations: 113.8 kB / 0.6381 GB, free: 26.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1468, allocations: 4 kB / 0.6381 GB, free: 26.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.1468, allocations: 15.95 kB / 0.6381 GB, free: 26.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1468, allocations: 4 kB / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1468, allocations: 0 / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1468, allocations: 3.938 kB / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.1475, allocations: 446.4 kB / 0.6385 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1475, allocations: 0 / 0.6385 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.1478, allocations: 43.95 kB / 0.6385 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1479, allocations: 0 / 0.6385 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1479, allocations: 7.938 kB / 0.6386 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1479, allocations: 4 kB / 0.6386 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1479, allocations: 0 / 0.6386 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.151, allocations: 1.445 MB / 0.64 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.1511, allocations: 85 kB / 0.6401 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1511, allocations: 0 / 0.6401 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.1514, allocations: 15.98 kB / 0.6401 GB, free: 23.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.1514, allocations: 15.92 kB / 0.6401 GB, free: 23.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1514, allocations: 4.188 kB / 0.6401 GB, free: 23.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.389e-05/0.1515, allocations: 87.25 kB / 0.6402 GB, free: 23.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 0 / 0.6402 GB, free: 23.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.1518, allocations: 24 kB / 0.6402 GB, free: 23.73 MB / 442.7 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.0001335/0.1519, allocations: 107.3 kB / 0.6403 GB, free: 23.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005094/0.1524, allocations: 127.8 kB / 0.6404 GB, free: 23.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1525, allocations: 3.938 kB / 0.6404 GB, free: 23.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1527, allocations: 67.89 kB / 0.6405 GB, free: 23.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.153, allocations: 18.19 kB / 0.6405 GB, free: 23.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1541, allocations: 0.5423 MB / 0.641 GB, free: 22.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.1542, allocations: 0.6926 MB / 0.6417 GB, free: 22.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1544, allocations: 16.66 kB / 0.6417 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.1544, allocations: 19.42 kB / 0.6417 GB, free: 22.07 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1544, allocations: 0 / 0.6417 GB, free: 22.07 MB / 442.7 MB Notification: Performance of Templates: time 0.002994/0.1574, allocations: 1.107 MB / 0.6428 GB, free: 21 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)