Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 98.47 kB / 16.26 MB, free: 5.934 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.001141/0.001141, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7604/0.7604, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 63.89 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3764, allocations: 77.92 MB / 0.5672 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003355/0.3798, allocations: 1.449 MB / 0.5686 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.3808, allocations: 0.6286 MB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.3809, allocations: 1.188 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.3809, allocations: 6.188 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.381, allocations: 5.672 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.3816, allocations: 165.6 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.3817, allocations: 54.06 kB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.3817, allocations: 8.062 kB / 0.5695 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.3818, allocations: 25.59 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.3818, allocations: 25.36 kB / 0.5695 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3818, allocations: 5.094 kB / 0.5695 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.3824, allocations: 349.2 kB / 0.5698 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.855e-05/0.3824, allocations: 16.69 kB / 0.5699 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.3824, allocations: 19.2 kB / 0.5699 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.3827, allocations: 175.2 kB / 0.57 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3828, allocations: 0 / 0.57 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3828, allocations: 1.281 kB / 0.5701 GB, free: 30.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3828, allocations: 0.625 kB / 0.5701 GB, free: 30.97 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005366/0.3833, allocations: 397.8 kB / 0.5704 GB, free: 30.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3834, allocations: 9.234 kB / 0.5704 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3834, allocations: 13.12 kB / 0.5705 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.451e-05/0.3835, allocations: 168.5 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3835, allocations: 7.188 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3836, allocations: 9.938 kB / 0.5706 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3838, allocations: 85.48 kB / 0.5707 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3838, allocations: 192 / 0.5707 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3838, allocations: 5.75 kB / 0.5707 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3838, allocations: 2.438 kB / 0.5707 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3841, allocations: 51.91 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.3846, allocations: 323.9 kB / 0.5711 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.3849, allocations: 81.5 kB / 0.5712 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.385, allocations: 36.27 kB / 0.5712 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3851, allocations: 2.344 kB / 0.5712 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3851, allocations: 36.56 kB / 0.5712 GB, free: 29.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3851, allocations: 0.6875 kB / 0.5712 GB, free: 29.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001628/0.3867, allocations: 0.6464 MB / 0.5719 GB, free: 29.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3868, allocations: 53.92 kB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.3868, allocations: 109.6 kB / 0.572 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3869, allocations: 32.05 kB / 0.572 GB, free: 29.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.3869, allocations: 95.88 kB / 0.5721 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3869, allocations: 35.06 kB / 0.5722 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.387, allocations: 29.62 kB / 0.5722 GB, free: 29.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.387, allocations: 315.2 kB / 0.5725 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.3872, allocations: 33.28 kB / 0.5725 GB, free: 28.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3874, allocations: 35.23 kB / 0.5726 GB, free: 28.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3876, allocations: 74.88 kB / 0.5726 GB, free: 28.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3876, allocations: 0 / 0.5726 GB, free: 28.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003341/0.388, allocations: 119.8 kB / 0.5727 GB, free: 28.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.388, allocations: 5.859 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.388, allocations: 1.25 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.388, allocations: 0.6875 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3882, allocations: 34.59 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3882, allocations: 1.938 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.3883, allocations: 10.03 kB / 0.5728 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3883, allocations: 3.406 kB / 0.5728 GB, free: 28.6 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 (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 6.246e-05/0.3884, allocations: 115.1 kB / 0.5729 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3884, allocations: 8.844 kB / 0.5729 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.3888, allocations: 127.5 kB / 0.573 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3888, allocations: 2.312 kB / 0.573 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3888, allocations: 3.938 kB / 0.573 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3888, allocations: 7.609 kB / 0.5731 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.3894, allocations: 384.6 kB / 0.5734 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3894, allocations: 0 / 0.5734 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3895, allocations: 24.06 kB / 0.5734 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3896, allocations: 1.922 kB / 0.5734 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3896, allocations: 10.73 kB / 0.5735 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3896, allocations: 1.281 kB / 0.5735 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3896, allocations: 0 / 0.5735 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.3901, allocations: 251 kB / 0.5737 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.3901, allocations: 79.05 kB / 0.5738 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3902, allocations: 6.406 kB / 0.5738 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3903, allocations: 14.98 kB / 0.5738 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.3903, allocations: 7.484 kB / 0.5738 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3903, allocations: 4.891 kB / 0.5738 GB, free: 27.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.3904, allocations: 83.14 kB / 0.5739 GB, free: 27.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3904, allocations: 3.938 kB / 0.5739 GB, free: 27.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.3907, allocations: 40.81 kB / 0.5739 GB, free: 27.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002443/0.391, allocations: 139.2 kB / 0.5741 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.3913, allocations: 81.55 kB / 0.5741 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3913, allocations: 0.6875 kB / 0.5741 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3915, allocations: 49.53 kB / 0.5742 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3918, allocations: 10.06 kB / 0.5742 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.3925, allocations: 321.3 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3926, allocations: 0.6946 MB / 0.5752 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.3927, allocations: 18.45 kB / 0.5752 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.3927, allocations: 14.48 kB / 0.5752 GB, free: 26.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3927, allocations: 0 / 0.5752 GB, free: 26.65 MB / 446.1 MB Notification: Performance of Templates: time 0.003924/0.3967, allocations: 1.129 MB / 0.5763 GB, free: 26.56 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)