Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 203.5 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7256/0.7256, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.41 kB / 0.4904 GB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2123, allocations: 77.93 MB / 0.5665 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002833/0.2152, allocations: 1.329 MB / 0.5678 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2164, allocations: 0.6229 MB / 0.5684 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.2165, allocations: 0 / 0.5684 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.2165, allocations: 3.938 kB / 0.5684 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.2166, allocations: 7.938 kB / 0.5684 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.2172, allocations: 127.6 kB / 0.5686 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.2173, allocations: 19.91 kB / 0.5686 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.2173, allocations: 0 / 0.5686 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.2174, allocations: 8 kB / 0.5686 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.2174, allocations: 7.938 kB / 0.5686 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2174, allocations: 0 / 0.5686 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.218, allocations: 347.3 kB / 0.5689 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.218, allocations: 7.922 kB / 0.5689 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.218, allocations: 11.94 kB / 0.5689 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.2183, allocations: 147.9 kB / 0.5691 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2184, allocations: 4 kB / 0.5691 GB, free: 14.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2184, allocations: 0 / 0.5691 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2184, allocations: 0 / 0.5691 GB, free: 14.1 MB / 446.1 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.0004541/0.2188, allocations: 363.4 kB / 0.5694 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2189, allocations: 12.03 kB / 0.5694 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.2189, allocations: 0.9375 kB / 0.5694 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2191, allocations: 160.4 kB / 0.5696 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2191, allocations: 4.375 kB / 0.5696 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.2191, allocations: 384 / 0.5696 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.2192, allocations: 50.23 kB / 0.5696 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.2193, allocations: 192 / 0.5696 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2193, allocations: 3.938 kB / 0.5697 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2193, allocations: 0 / 0.5697 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.2193, allocations: 19.92 kB / 0.5697 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.2196, allocations: 157.6 kB / 0.5698 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.2198, allocations: 42.61 kB / 0.5699 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.2198, allocations: 20.86 kB / 0.5699 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.2199, allocations: 0 / 0.5699 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2199, allocations: 38.64 kB / 0.5699 GB, free: 13.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2199, allocations: 0 / 0.5699 GB, free: 13.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007008/0.2206, allocations: 310.1 kB / 0.5702 GB, free: 12.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2206, allocations: 51.41 kB / 0.5703 GB, free: 12.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.2207, allocations: 101.8 kB / 0.5704 GB, free: 12.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2208, allocations: 33.7 kB / 0.5704 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.2208, allocations: 80.14 kB / 0.5705 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2208, allocations: 15.72 kB / 0.5705 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.2209, allocations: 17.72 kB / 0.5705 GB, free: 12.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.221, allocations: 322.8 kB / 0.5708 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.221, allocations: 8.062 kB / 0.5708 GB, free: 12.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.221, allocations: 15.98 kB / 0.5708 GB, free: 12.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.762e-05/0.2211, allocations: 32.86 kB / 0.5709 GB, free: 12.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2211, allocations: 4 kB / 0.5709 GB, free: 12.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001014/0.2212, allocations: 69.61 kB / 0.5709 GB, free: 11.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2212, allocations: 7.938 kB / 0.5709 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2213, allocations: 0 / 0.5709 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2213, allocations: 0 / 0.5709 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.2213, allocations: 16 kB / 0.571 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2213, allocations: 0 / 0.571 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.2214, allocations: 0 / 0.571 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.2214, allocations: 3.938 kB / 0.571 GB, free: 11.91 MB / 446.1 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.0001001/0.2215, allocations: 117.8 kB / 0.5711 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2215, allocations: 7.938 kB / 0.5711 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.2217, allocations: 77.81 kB / 0.5712 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2217, allocations: 0 / 0.5712 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2217, allocations: 0.5156 kB / 0.5712 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2217, allocations: 0 / 0.5712 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.222, allocations: 319.2 kB / 0.5715 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.222, allocations: 0 / 0.5715 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.2221, allocations: 12.03 kB / 0.5715 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2221, allocations: 4 kB / 0.5715 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2221, allocations: 0 / 0.5715 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2221, allocations: 4 kB / 0.5715 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2221, allocations: 0 / 0.5715 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2223, allocations: 184.4 kB / 0.5717 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.2224, allocations: 85.2 kB / 0.5717 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2224, allocations: 8.047 kB / 0.5717 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.2225, allocations: 4 kB / 0.5717 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2225, allocations: 4 kB / 0.5718 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2225, allocations: 7.938 kB / 0.5718 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.4e-05/0.2226, allocations: 79.28 kB / 0.5718 GB, free: 10.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2226, allocations: 0 / 0.5718 GB, free: 10.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.2228, allocations: 27.92 kB / 0.5719 GB, free: 10.87 MB / 446.1 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.000185/0.223, allocations: 119.2 kB / 0.572 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.2231, allocations: 39.92 kB / 0.572 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2231, allocations: 0 / 0.572 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.2232, allocations: 16 kB / 0.572 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2234, allocations: 7.938 kB / 0.572 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.2238, allocations: 205.8 kB / 0.5722 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2241, allocations: 0.6809 MB / 0.5729 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.115e-05/0.2241, allocations: 4 kB / 0.5729 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.2241, allocations: 11.44 kB / 0.5729 GB, free: 9.727 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2241, allocations: 4 kB / 0.5729 GB, free: 9.723 MB / 446.1 MB Notification: Performance of Templates: time 0.002902/0.227, allocations: 0.6001 MB / 0.5735 GB, free: 9.133 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)