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.001021/0.001021, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001533/0.002554, 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.001041/0.001041, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002449, 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 0.9783/0.9783, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09004/1.068, 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.6079/0.6079, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06217/0.67, allocations: 38.16 MB / 402.4 MB, free: 12.28 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.052e-06/1.052e-06, allocations: 0 / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.396e-05, allocations: 10.25 kB / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001478/0.001492, allocations: 1.424 MB / 405.2 MB, free: 9.461 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005939/0.002086, allocations: 0.5953 MB / 405.8 MB, free: 8.863 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.002103, allocations: 0 / 405.8 MB, free: 8.863 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.945e-06/0.002111, allocations: 7.938 kB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.719e-05/0.002129, allocations: 0 / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.002412, allocations: 163.2 kB / 406 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.002462, allocations: 23.92 kB / 406 MB, free: 8.672 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.002495, allocations: 7.938 kB / 406 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.002542, allocations: 19.97 kB / 406 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.002598, allocations: 11.98 kB / 406 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.002608, allocations: 0 / 406 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.002946, allocations: 331.3 kB / 406.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.002959, allocations: 3.938 kB / 406.3 MB, free: 8.305 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.002974, allocations: 8 kB / 406.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.003166, allocations: 147.5 kB / 406.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.003177, allocations: 0 / 406.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003177, allocations: 0 / 406.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.003186, allocations: 0 / 406.5 MB, free: 8.152 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.0003001/0.003486, allocations: 280.3 kB / 406.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.003513, allocations: 12.03 kB / 406.8 MB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.003539, allocations: 4.938 kB / 406.8 MB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.423e-05/0.003613, allocations: 121.7 kB / 406.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.003623, allocations: 4.375 kB / 406.9 MB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.003645, allocations: 4.375 kB / 406.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.511e-05/0.00373, allocations: 101.6 kB / 407 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003738, allocations: 3.938 kB / 407 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.003744, allocations: 0 / 407 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.003748, allocations: 0 / 407 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.00377, allocations: 11.98 kB / 407 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.178e-05/0.003852, allocations: 69.05 kB / 407.1 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.586e-05/0.003918, allocations: 50.62 kB / 407.1 MB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.003936, allocations: 16.86 kB / 407.2 MB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.003955, allocations: 4 kB / 407.2 MB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.003975, allocations: 34.5 kB / 407.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 6.92e-07/0.003975, allocations: 0 / 407.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009316/0.004907, allocations: 451.6 kB / 407.6 MB, free: 6.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.004938, allocations: 59.39 kB / 407.7 MB, free: 6.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.384e-05/0.004981, allocations: 98.7 kB / 407.8 MB, free: 6.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.004993, allocations: 33.7 kB / 407.8 MB, free: 6.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.005012, allocations: 80.14 kB / 407.9 MB, free: 6.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.005042, allocations: 43.62 kB / 408 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.005072, allocations: 21.72 kB / 408 MB, free: 6.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.005138, allocations: 326.8 kB / 408.3 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.005151, allocations: 8 kB / 408.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.354e-05/0.005164, allocations: 16.05 kB / 408.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.005202, allocations: 32.84 kB / 408.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005203, allocations: 0 / 408.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 5.778e-05/0.00526, allocations: 73.67 kB / 408.4 MB, free: 6.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005272, allocations: 4 kB / 408.4 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005276, allocations: 3.938 kB / 408.4 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.005286, allocations: 4 kB / 408.4 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.00535, allocations: 27.92 kB / 408.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005353, allocations: 3.984 kB / 408.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.176e-05/0.005365, allocations: 0 / 408.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.00537, allocations: 4 kB / 408.5 MB, free: 5.969 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 4.339e-05/0.005414, allocations: 117.8 kB / 408.6 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.005424, allocations: 11.98 kB / 408.6 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-05/0.005513, allocations: 81.67 kB / 408.7 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.005514, allocations: 0 / 408.7 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005516, allocations: 4 kB / 408.7 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.005519, allocations: 3.984 kB / 408.7 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.005694, allocations: 218.8 kB / 408.9 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005696, allocations: 3.984 kB / 408.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.005757, allocations: 23.94 kB / 408.9 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.005763, allocations: 7.891 kB / 408.9 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.005765, allocations: 11.98 kB / 408.9 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.00577, allocations: 4 kB / 408.9 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.005771, allocations: 0 / 408.9 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005771, allocations: 0 / 408.9 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.00588, allocations: 175.5 kB / 409.1 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.005892, allocations: 7.938 kB / 409.1 MB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.005929, allocations: 0 / 409.1 MB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.005945, allocations: 15.92 kB / 409.1 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.005949, allocations: 0 / 409.1 MB, free: 5.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.612e-06/0.005955, allocations: 4.859 kB / 409.1 MB, free: 5.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005956, allocations: 12.06 kB / 409.2 MB, free: 5.223 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.006119, allocations: 59.73 kB / 409.2 MB, free: 5.164 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.0001679/0.006287, allocations: 156 kB / 409.4 MB, free: 5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.006354, allocations: 44.78 kB / 409.4 MB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.00636, allocations: 4 kB / 409.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.006388, allocations: 32.83 kB / 409.4 MB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.006492, allocations: 15.98 kB / 409.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007392/0.007231, allocations: 185 kB / 409.6 MB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.032e-05/0.007261, allocations: 63.34 kB / 409.7 MB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.007292, allocations: 7.984 kB / 409.7 MB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.007337, allocations: 59.38 kB / 409.8 MB, free: 4.543 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007338, allocations: 4 kB / 409.8 MB, free: 4.539 MB / 394.7 MB Notification: Performance of Templates: time 0.002682/0.01002, allocations: 1.604 MB / 411.4 MB, free: 2.934 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.0698781656101346]