Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.002807, allocations: 451.9 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008131/0.0008131, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001836, allocations: 483.5 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0976/1.163, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6457/0.6457, allocations: 120.3 MB / 364.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06873/0.7144, allocations: 38.24 MB / 402.7 MB, free: 11.94 MB / 394.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 404.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.21e-05, allocations: 2.312 kB / 404.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.00182/0.001842, allocations: 1.427 MB / 405.5 MB, free: 9.121 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006633/0.002505, allocations: 0.5999 MB / 406.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.002525, allocations: 0 / 406.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.584e-06/0.002532, allocations: 0 / 406.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.06e-05/0.002553, allocations: 3.938 kB / 406.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.002876, allocations: 159.2 kB / 406.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.002937, allocations: 27.88 kB / 406.3 MB, free: 8.332 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.002979, allocations: 7.984 kB / 406.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.003038, allocations: 27.84 kB / 406.3 MB, free: 8.297 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.003098, allocations: 11.98 kB / 406.4 MB, free: 8.285 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.003111, allocations: 4 kB / 406.4 MB, free: 8.281 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.003472, allocations: 323.4 kB / 406.7 MB, free: 7.965 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.003488, allocations: 4 kB / 406.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.003505, allocations: 7.938 kB / 406.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.003698, allocations: 143.5 kB / 406.8 MB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.003714, allocations: 4 kB / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003715, allocations: 0 / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.003725, allocations: 0 / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003571/0.004082, allocations: 280.2 kB / 407.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.004116, allocations: 12.03 kB / 407.1 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.004148, allocations: 12.92 kB / 407.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.004222, allocations: 113.6 kB / 407.2 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004233, allocations: 4.375 kB / 407.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.004256, allocations: 12.36 kB / 407.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.358e-05/0.004349, allocations: 97.64 kB / 407.4 MB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.004358, allocations: 3.938 kB / 407.4 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004364, allocations: 0 / 407.4 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.004369, allocations: 0 / 407.4 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.004391, allocations: 8 kB / 407.4 MB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.207e-05/0.004483, allocations: 69.05 kB / 407.4 MB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.004554, allocations: 58.55 kB / 407.5 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.004574, allocations: 16.86 kB / 407.5 MB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.004593, allocations: 4 kB / 407.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.004613, allocations: 34.56 kB / 407.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 6.81e-07/0.004614, allocations: 0 / 407.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008015/0.005415, allocations: 463.5 kB / 408 MB, free: 6.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.005448, allocations: 59.39 kB / 408.1 MB, free: 6.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.005775, allocations: 98.7 kB / 408.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005786, allocations: 29.7 kB / 408.2 MB, free: 6.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.005807, allocations: 84.14 kB / 408.3 MB, free: 6.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.005843, allocations: 39.62 kB / 408.3 MB, free: 6.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.005874, allocations: 25.72 kB / 408.3 MB, free: 6.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.005955, allocations: 326.9 kB / 408.6 MB, free: 5.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.005971, allocations: 8 kB / 408.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.005987, allocations: 8 kB / 408.7 MB, free: 5.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.006034, allocations: 40.81 kB / 408.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006035, allocations: 0 / 408.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.323e-05/0.006108, allocations: 69.61 kB / 408.8 MB, free: 5.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.006121, allocations: 4 kB / 408.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006127, allocations: 3.938 kB / 408.8 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006138, allocations: 4 kB / 408.8 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.006217, allocations: 27.98 kB / 408.8 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.006219, allocations: 0 / 408.8 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.006232, allocations: 7.938 kB / 408.8 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006238, allocations: 4 kB / 408.8 MB, free: 5.605 MB / 394.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.559e-05/0.006294, allocations: 113.8 kB / 408.9 MB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.006305, allocations: 11.97 kB / 408.9 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.00642, allocations: 81.73 kB / 409 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006422, allocations: 0 / 409 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.006424, allocations: 3.984 kB / 409 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006428, allocations: 0 / 409 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.006627, allocations: 222.8 kB / 409.2 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.006629, allocations: 0 / 409.2 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.006696, allocations: 24 kB / 409.3 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.006705, allocations: 19.81 kB / 409.3 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.006707, allocations: 0 / 409.3 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.006714, allocations: 4 kB / 409.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006715, allocations: 0 / 409.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006716, allocations: 0 / 409.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.006836, allocations: 179.4 kB / 409.5 MB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.006848, allocations: 7.938 kB / 409.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.006888, allocations: 0 / 409.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.006903, allocations: 11.98 kB / 409.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.006908, allocations: 0 / 409.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.508e-06/0.006917, allocations: 12.89 kB / 409.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006917, allocations: 0 / 409.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.007111, allocations: 63.73 kB / 409.6 MB, free: 4.809 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.00019/0.007301, allocations: 156 kB / 409.7 MB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.802e-05/0.007399, allocations: 36.3 kB / 409.8 MB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.007406, allocations: 4 kB / 409.8 MB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.007463, allocations: 35.86 kB / 409.8 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.007577, allocations: 12 kB / 409.8 MB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.008368, allocations: 189.2 kB / 410 MB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.008403, allocations: 63.34 kB / 410 MB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.876e-05/0.008442, allocations: 8.031 kB / 410.1 MB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.008494, allocations: 71.36 kB / 410.1 MB, free: 4.188 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.008495, allocations: 0 / 410.1 MB, free: 4.188 MB / 394.7 MB Notification: Performance of Templates: time 0.003094/0.01159, allocations: 1.596 MB / 411.7 MB, free: 2.586 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.095105942338705]