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.0009854/0.0009854, allocations: 92.44 kB / 20.7 MB, free: 3.844 MB / 18.57 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.001023/0.001023, allocations: 169.9 kB / 23.96 MB, free: 0.5742 MB / 18.57 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.9689/0.9689, allocations: 177.1 MB / 204.3 MB, free: 5.301 MB / 186.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.7361/0.7361, allocations: 120 MB / 380.7 MB, free: 2.816 MB / 346.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.993e-06/1.993e-06, allocations: 0 / 0.5643 GB, free: 7.777 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.515e-05, allocations: 6.281 kB / 0.5644 GB, free: 7.77 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.002947/0.002982, allocations: 1.314 MB / 0.5656 GB, free: 6.445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003993, allocations: 0.5487 MB / 0.5662 GB, free: 5.895 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.004033, allocations: 0 / 0.5662 GB, free: 5.895 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.004059, allocations: 7.922 kB / 0.5662 GB, free: 5.887 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.004108, allocations: 0 / 0.5662 GB, free: 5.887 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.004769, allocations: 163.2 kB / 0.5663 GB, free: 5.727 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.473e-05/0.004854, allocations: 19.92 kB / 0.5664 GB, free: 5.707 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.355e-05/0.004928, allocations: 11.98 kB / 0.5664 GB, free: 5.695 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.004991, allocations: 11.98 kB / 0.5664 GB, free: 5.684 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.005045, allocations: 3.938 kB / 0.5664 GB, free: 5.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.005059, allocations: 4 kB / 0.5664 GB, free: 5.676 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.00536, allocations: 311.3 kB / 0.5667 GB, free: 5.371 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.005377, allocations: 4 kB / 0.5667 GB, free: 5.367 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.005398, allocations: 11.97 kB / 0.5667 GB, free: 5.355 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.005607, allocations: 151.5 kB / 0.5668 GB, free: 5.207 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005609, allocations: 4 kB / 0.5668 GB, free: 5.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005611, allocations: 4 kB / 0.5668 GB, free: 5.199 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.005614, allocations: 0 / 0.5668 GB, free: 5.199 MB / 490.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.0003572/0.005972, allocations: 289.9 kB / 0.5671 GB, free: 4.887 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.006015, allocations: 8.625 kB / 0.5671 GB, free: 4.879 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.006049, allocations: 4.938 kB / 0.5671 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.006131, allocations: 109.7 kB / 0.5672 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.006144, allocations: 4.375 kB / 0.5672 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.006167, allocations: 8.359 kB / 0.5673 GB, free: 4.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.006281, allocations: 67.95 kB / 0.5673 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.006289, allocations: 7.938 kB / 0.5673 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.0063, allocations: 7.922 kB / 0.5673 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006304, allocations: 0 / 0.5673 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.724e-05/0.006342, allocations: 4 kB / 0.5673 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.006466, allocations: 109.4 kB / 0.5674 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.006647, allocations: 46.5 kB / 0.5675 GB, free: 4.441 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.006677, allocations: 20.86 kB / 0.5675 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.006696, allocations: 0 / 0.5675 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.006714, allocations: 30.56 kB / 0.5675 GB, free: 4.379 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.006715, allocations: 0 / 0.5675 GB, free: 4.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005306/0.007246, allocations: 241.2 kB / 0.5678 GB, free: 4.109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.007279, allocations: 55.39 kB / 0.5678 GB, free: 4.043 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.007335, allocations: 93.86 kB / 0.5679 GB, free: 3.941 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.007348, allocations: 33.64 kB / 0.5679 GB, free: 3.902 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.007373, allocations: 88.14 kB / 0.568 GB, free: 3.812 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.007403, allocations: 19.84 kB / 0.568 GB, free: 3.793 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.007431, allocations: 21.72 kB / 0.5681 GB, free: 3.766 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.007519, allocations: 310.8 kB / 0.5684 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.007543, allocations: 15.98 kB / 0.5684 GB, free: 3.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.007559, allocations: 11.94 kB / 0.5684 GB, free: 3.426 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.007605, allocations: 36.84 kB / 0.5684 GB, free: 3.387 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007606, allocations: 0 / 0.5684 GB, free: 3.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.35e-05/0.00768, allocations: 69.64 kB / 0.5685 GB, free: 3.312 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007694, allocations: 9.656 kB / 0.5685 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007699, allocations: 0 / 0.5685 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.007712, allocations: 4 kB / 0.5685 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.007754, allocations: 11.98 kB / 0.5685 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.007759, allocations: 4.172 kB / 0.5685 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.00777, allocations: 0 / 0.5685 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.007781, allocations: 7.984 kB / 0.5685 GB, free: 3.277 MB / 490.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 6.212e-05/0.007843, allocations: 109.8 kB / 0.5686 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-06/0.007851, allocations: 8 kB / 0.5686 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.007956, allocations: 73.73 kB / 0.5687 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007957, allocations: 0.5156 kB / 0.5687 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007961, allocations: 0 / 0.5687 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007964, allocations: 4 kB / 0.5687 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.008187, allocations: 255.1 kB / 0.569 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008189, allocations: 7.875 kB / 0.569 GB, free: 2.777 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.008232, allocations: 11.98 kB / 0.569 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.008235, allocations: 4 kB / 0.569 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.008242, allocations: 192 / 0.569 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.008245, allocations: 8.031 kB / 0.569 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.008248, allocations: 7.922 kB / 0.569 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.008378, allocations: 176.4 kB / 0.5692 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.008397, allocations: 11.95 kB / 0.5692 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.008406, allocations: 0 / 0.5692 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.008451, allocations: 4 kB / 0.5692 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.008467, allocations: 7.984 kB / 0.5692 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008473, allocations: 0 / 0.5692 GB, free: 2.531 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.401e-05/0.008497, allocations: 79.28 kB / 0.5693 GB, free: 2.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008497, allocations: 3.938 kB / 0.5693 GB, free: 2.449 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.008673, allocations: 43.88 kB / 0.5693 GB, free: 2.406 MB / 490.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.0001909/0.008864, allocations: 139 kB / 0.5694 GB, free: 2.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.605e-05/0.00895, allocations: 31.98 kB / 0.5695 GB, free: 2.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008952, allocations: 0 / 0.5695 GB, free: 2.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.008968, allocations: 11.94 kB / 0.5695 GB, free: 2.219 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.009129, allocations: 14.98 kB / 0.5695 GB, free: 2.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.009469, allocations: 187.4 kB / 0.5697 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.009512, allocations: 63.34 kB / 0.5697 GB, free: 1.906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.009535, allocations: 12.5 kB / 0.5697 GB, free: 1.895 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009535, allocations: 3.938 kB / 0.5697 GB, free: 1.891 MB / 490.7 MB Notification: Performance of Templates: time 0.002088/0.01162, allocations: 0.965 MB / 0.5707 GB, free: 0.9336 MB / 490.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 > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.276912152767181]