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_DerivativeCheck.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.001035/0.001035, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002481, allocations: 452 kB / 10.43 MB, free: 268 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.001077/0.001077, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002437, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.016/1.016, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0846/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.6087/0.6087, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06528/0.674, allocations: 38.15 MB / 402.4 MB, free: 12.27 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.566e-05, allocations: 6.25 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001446/0.001462, allocations: 1.416 MB / 405.2 MB, free: 9.453 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000577/0.002039, allocations: 0.5876 MB / 405.8 MB, free: 8.863 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.002055, allocations: 0 / 405.8 MB, free: 8.863 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.474e-06/0.002062, allocations: 7.938 kB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.017e-05/0.002082, allocations: 3.938 kB / 405.8 MB, free: 8.852 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.002347, allocations: 155.2 kB / 405.9 MB, free: 8.699 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.179e-05/0.002398, allocations: 23.86 kB / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.002429, allocations: 0 / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.002484, allocations: 11.98 kB / 406 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.002528, allocations: 7.984 kB / 406 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.002538, allocations: 3.938 kB / 406 MB, free: 8.652 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.002872, allocations: 335.3 kB / 406.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.002884, allocations: 0 / 406.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.232e-05/0.002896, allocations: 4 kB / 406.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.003078, allocations: 131.6 kB / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.003087, allocations: 0 / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003087, allocations: 0 / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.003096, allocations: 0 / 406.4 MB, free: 8.191 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003001/0.003396, allocations: 280.2 kB / 406.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.003424, allocations: 12.03 kB / 406.7 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.003449, allocations: 4.922 kB / 406.7 MB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.713e-05/0.003516, allocations: 109.8 kB / 406.8 MB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.003524, allocations: 4.375 kB / 406.8 MB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.003545, allocations: 8.375 kB / 406.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.003613, allocations: 59.95 kB / 406.9 MB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.003619, allocations: 3.938 kB / 406.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-06/0.003625, allocations: 0 / 406.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.003631, allocations: 4 kB / 406.9 MB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.003647, allocations: 7.938 kB / 406.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.576e-05/0.003723, allocations: 65.03 kB / 407 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.003844, allocations: 42.58 kB / 407 MB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.00386, allocations: 16.86 kB / 407 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.003874, allocations: 0 / 407 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.003892, allocations: 34.56 kB / 407.1 MB, free: 7.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.003893, allocations: 0 / 407.1 MB, free: 7.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000418/0.004311, allocations: 241 kB / 407.3 MB, free: 7.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.004331, allocations: 55.34 kB / 407.4 MB, free: 7.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.161e-05/0.004372, allocations: 102.7 kB / 407.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.004381, allocations: 25.7 kB / 407.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.92e-05/0.0044, allocations: 88.14 kB / 407.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.004422, allocations: 19.84 kB / 407.6 MB, free: 6.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.004446, allocations: 25.7 kB / 407.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.004508, allocations: 314.8 kB / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.004516, allocations: 4 kB / 407.9 MB, free: 6.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.004525, allocations: 4 kB / 407.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.004553, allocations: 24.78 kB / 408 MB, free: 6.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.004554, allocations: 0 / 408 MB, free: 6.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.467e-05/0.004599, allocations: 49.69 kB / 408 MB, free: 6.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.004608, allocations: 4 kB / 408 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004612, allocations: 3.984 kB / 408 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.004624, allocations: 7.938 kB / 408 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.004658, allocations: 12 kB / 408 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.004661, allocations: 0 / 408 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.004671, allocations: 4 kB / 408 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.004674, allocations: 0 / 408 MB, free: 6.398 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 (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 0.0001974/0.004872, allocations: 113.8 kB / 408.2 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.004879, allocations: 7.984 kB / 408.2 MB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.004951, allocations: 61.86 kB / 408.2 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.004954, allocations: 7.938 kB / 408.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.004955, allocations: 0 / 408.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.004957, allocations: 0 / 408.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.0051, allocations: 207.7 kB / 408.4 MB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.005102, allocations: 3.984 kB / 408.4 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.005136, allocations: 8 kB / 408.4 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-06/0.005146, allocations: 7.984 kB / 408.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.005149, allocations: 7.938 kB / 408.5 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.005154, allocations: 3.984 kB / 408.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.005156, allocations: 0 / 408.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005156, allocations: 0 / 408.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.189e-05/0.005248, allocations: 160.3 kB / 408.6 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.005257, allocations: 3.938 kB / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.005292, allocations: 12.58 kB / 408.6 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.005302, allocations: 3.938 kB / 408.6 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.005305, allocations: 0 / 408.6 MB, free: 5.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.218e-06/0.005314, allocations: 16.83 kB / 408.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005314, allocations: 0 / 408.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.00546, allocations: 43.81 kB / 408.7 MB, free: 5.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.000143/0.005603, allocations: 128.2 kB / 408.8 MB, free: 5.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.871e-05/0.005662, allocations: 32.78 kB / 408.9 MB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.005665, allocations: 0 / 408.9 MB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.925e-05/0.005684, allocations: 24.84 kB / 408.9 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.00579, allocations: 8.375 kB / 408.9 MB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.006429, allocations: 169.1 kB / 409.1 MB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.705e-05/0.006456, allocations: 55.36 kB / 409.1 MB, free: 5.203 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.408e-05/0.006481, allocations: 7.984 kB / 409.1 MB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.006517, allocations: 59.47 kB / 409.2 MB, free: 5.137 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006517, allocations: 0 / 409.2 MB, free: 5.137 MB / 394.7 MB Notification: Performance of Templates: time 0.002342/0.008859, allocations: 1.098 MB / 410.3 MB, free: 4.035 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9898243425413966]