Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.0008522, allocations: 87.84 kB / 16.66 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009615/0.0009614, allocations: 182.7 kB / 17.57 MB, free: 5.816 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.323/1.323, allocations: 223.3 MB / 241.6 MB, free: 14.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7057/0.7057, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 12.22 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3795, allocations: 77.51 MB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00119/0.3807, allocations: 0.9971 MB / 0.5616 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.3816, allocations: 0.6178 MB / 0.5622 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.3817, allocations: 0 / 0.5622 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.3817, allocations: 2.281 kB / 0.5622 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.3817, allocations: 3.938 kB / 0.5622 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.3822, allocations: 129.5 kB / 0.5623 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.185e-05/0.3822, allocations: 19.78 kB / 0.5623 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.3823, allocations: 2.406 kB / 0.5623 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.3823, allocations: 8.531 kB / 0.5623 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.3824, allocations: 9.359 kB / 0.5623 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3824, allocations: 2.281 kB / 0.5623 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.3829, allocations: 343.6 kB / 0.5627 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.3829, allocations: 3.984 kB / 0.5627 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.383, allocations: 34.16 kB / 0.5627 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.3832, allocations: 101.3 kB / 0.5628 GB, free: 34.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3832, allocations: 1.406 kB / 0.5628 GB, free: 34.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3832, allocations: 2.062 kB / 0.5628 GB, free: 34.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3832, allocations: 0 / 0.5628 GB, free: 34.2 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.0003365/0.3835, allocations: 360 kB / 0.5631 GB, free: 33.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3836, allocations: 12.28 kB / 0.5631 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.3836, allocations: 4.375 kB / 0.5632 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.256e-05/0.3837, allocations: 170.3 kB / 0.5633 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3837, allocations: 1.5 kB / 0.5633 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3837, allocations: 4.781 kB / 0.5633 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.3838, allocations: 38.72 kB / 0.5634 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.3838, allocations: 2.5 kB / 0.5634 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3839, allocations: 3.938 kB / 0.5634 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3839, allocations: 1.125 kB / 0.5634 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.959e-05/0.3839, allocations: 12.23 kB / 0.5634 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.384, allocations: 155.5 kB / 0.5635 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3842, allocations: 49.48 kB / 0.5636 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.3843, allocations: 17.84 kB / 0.5636 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.3843, allocations: 7.172 kB / 0.5636 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.3843, allocations: 35.81 kB / 0.5636 GB, free: 33.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3843, allocations: 0 / 0.5636 GB, free: 33.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005389/0.3849, allocations: 310.3 kB / 0.5639 GB, free: 33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.3849, allocations: 54.61 kB / 0.564 GB, free: 32.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.731e-05/0.3849, allocations: 107.6 kB / 0.5641 GB, free: 32.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.385, allocations: 27.05 kB / 0.5641 GB, free: 32.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.755e-05/0.385, allocations: 81.11 kB / 0.5642 GB, free: 32.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.385, allocations: 24.56 kB / 0.5642 GB, free: 32.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.385, allocations: 14.12 kB / 0.5642 GB, free: 32.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.3851, allocations: 317.9 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.3851, allocations: 12.38 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.3851, allocations: 7.812 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.3852, allocations: 33.14 kB / 0.5646 GB, free: 32.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3852, allocations: 0.6562 kB / 0.5646 GB, free: 32.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.121e-05/0.3853, allocations: 62.67 kB / 0.5646 GB, free: 32.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3853, allocations: 12.56 kB / 0.5646 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3853, allocations: 1.719 kB / 0.5646 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3854, allocations: 1.031 kB / 0.5647 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.3854, allocations: 20.05 kB / 0.5647 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3854, allocations: 3.984 kB / 0.5647 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.3855, allocations: 2.141 kB / 0.5647 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3855, allocations: 1 kB / 0.5647 GB, free: 32.28 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 5.024e-05/0.3855, allocations: 114.5 kB / 0.5648 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.3855, allocations: 9.75 kB / 0.5648 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.3857, allocations: 78.33 kB / 0.5649 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3857, allocations: 1.984 kB / 0.5649 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3857, allocations: 0 / 0.5649 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3857, allocations: 0.7031 kB / 0.5649 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.386, allocations: 311.1 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.386, allocations: 1.75 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.038e-05/0.386, allocations: 15.91 kB / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.386, allocations: 0 / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3861, allocations: 1.938 kB / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3861, allocations: 3.094 kB / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3861, allocations: 1.531 kB / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.3862, allocations: 180 kB / 0.5654 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.3863, allocations: 90.75 kB / 0.5655 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3863, allocations: 6.859 kB / 0.5655 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.3863, allocations: 1.344 kB / 0.5655 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.3864, allocations: 8.375 kB / 0.5655 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3864, allocations: 3.234 kB / 0.5655 GB, free: 31.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.325e-05/0.3864, allocations: 83.34 kB / 0.5655 GB, free: 31.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3864, allocations: 0.625 kB / 0.5655 GB, free: 31.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3867, allocations: 19.03 kB / 0.5656 GB, free: 31.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001485/0.3868, allocations: 122.1 kB / 0.5657 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.482e-05/0.3869, allocations: 32.59 kB / 0.5657 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3869, allocations: 0 / 0.5657 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.387, allocations: 21.45 kB / 0.5657 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3872, allocations: 13.75 kB / 0.5657 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.3876, allocations: 251.5 kB / 0.566 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.3877, allocations: 0.6805 MB / 0.5667 GB, free: 30.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.3877, allocations: 12.69 kB / 0.5667 GB, free: 30.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3877, allocations: 0 / 0.5667 GB, free: 30.41 MB / 446.1 MB Notification: Performance of Templates: time 0.002319/0.3901, allocations: 0.7725 MB / 0.5674 GB, free: 30.4 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)