Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.006089/0.006089, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001208/0.001208, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 0.5955 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3998, allocations: 82.03 MB / 0.6756 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002258/0.4021, allocations: 1.463 MB / 0.6771 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4033, allocations: 0.6387 MB / 0.6777 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.4033, allocations: 1.344 kB / 0.6777 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.4034, allocations: 7.875 kB / 0.6777 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.4035, allocations: 7.922 kB / 0.6777 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.4041, allocations: 163.4 kB / 0.6779 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.4042, allocations: 49.94 kB / 0.6779 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.4042, allocations: 7.5 kB / 0.6779 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.4043, allocations: 29.62 kB / 0.6779 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.4044, allocations: 19.61 kB / 0.678 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.4044, allocations: 3.781 kB / 0.678 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.4049, allocations: 349.1 kB / 0.6783 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.4049, allocations: 14.48 kB / 0.6783 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.4049, allocations: 19.94 kB / 0.6783 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.4052, allocations: 177.1 kB / 0.6785 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4053, allocations: 0 / 0.6785 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4053, allocations: 4 kB / 0.6785 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.4053, allocations: 1.281 kB / 0.6785 GB, free: 15.28 MB / 0.5137 GB 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.0006101/0.4059, allocations: 402.8 kB / 0.6789 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4059, allocations: 8.875 kB / 0.6789 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.406, allocations: 12.25 kB / 0.6789 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.4061, allocations: 170.5 kB / 0.6791 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.4061, allocations: 3.562 kB / 0.6791 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.4062, allocations: 12.98 kB / 0.6791 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.4064, allocations: 83.08 kB / 0.6792 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4065, allocations: 192 / 0.6792 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.4065, allocations: 4.969 kB / 0.6792 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4065, allocations: 2.312 kB / 0.6792 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.4067, allocations: 56.27 kB / 0.6792 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.4073, allocations: 320.9 kB / 0.6795 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.4076, allocations: 78.94 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4077, allocations: 27.44 kB / 0.6796 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.4077, allocations: 5.25 kB / 0.6796 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4078, allocations: 31.75 kB / 0.6797 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4078, allocations: 4 kB / 0.6797 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001738/0.4095, allocations: 0.6479 MB / 0.6803 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.4096, allocations: 53.69 kB / 0.6804 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.4097, allocations: 106.1 kB / 0.6805 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.4097, allocations: 27.52 kB / 0.6805 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.4098, allocations: 93.58 kB / 0.6806 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4098, allocations: 35.95 kB / 0.6806 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.4099, allocations: 30.7 kB / 0.6806 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.41, allocations: 320.3 kB / 0.6809 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.4102, allocations: 34.5 kB / 0.681 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4103, allocations: 39.48 kB / 0.681 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.4106, allocations: 74.36 kB / 0.6811 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4106, allocations: 1.312 kB / 0.6811 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000323/0.4109, allocations: 122.6 kB / 0.6812 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.411, allocations: 5.531 kB / 0.6812 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.411, allocations: 7.984 kB / 0.6812 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.411, allocations: 1.344 kB / 0.6812 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.4112, allocations: 28.52 kB / 0.6812 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4112, allocations: 0 / 0.6812 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.4112, allocations: 7.5 kB / 0.6812 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4113, allocations: 3.344 kB / 0.6813 GB, free: 12.7 MB / 0.5137 GB 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 0.0001074/0.4114, allocations: 121.1 kB / 0.6814 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.4114, allocations: 2.25 kB / 0.6814 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.4118, allocations: 127.8 kB / 0.6815 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4118, allocations: 1.062 kB / 0.6815 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4118, allocations: 1.438 kB / 0.6815 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.4119, allocations: 8.109 kB / 0.6815 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.4125, allocations: 380.5 kB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.4125, allocations: 3.984 kB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.4126, allocations: 29.11 kB / 0.6819 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4126, allocations: 4 kB / 0.6819 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4127, allocations: 13.39 kB / 0.6819 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4127, allocations: 0.8438 kB / 0.6819 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4127, allocations: 1.156 kB / 0.6819 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.4132, allocations: 239 kB / 0.6821 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.4133, allocations: 86.92 kB / 0.6822 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.4133, allocations: 13.03 kB / 0.6822 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4134, allocations: 8.984 kB / 0.6822 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.4134, allocations: 3.375 kB / 0.6822 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4135, allocations: 7.469 kB / 0.6823 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.4135, allocations: 81.64 kB / 0.6823 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4135, allocations: 1.281 kB / 0.6823 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000302/0.4138, allocations: 38.12 kB / 0.6824 GB, free: 11.7 MB / 0.5137 GB 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.0002403/0.4141, allocations: 144.9 kB / 0.6825 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.4144, allocations: 74.86 kB / 0.6826 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4144, allocations: 5.031 kB / 0.6826 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.4146, allocations: 47.38 kB / 0.6826 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.4149, allocations: 8.5 kB / 0.6826 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.4156, allocations: 310.7 kB / 0.6829 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.4158, allocations: 0.6992 MB / 0.6836 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.171e-05/0.4159, allocations: 11.08 kB / 0.6836 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.4159, allocations: 17.02 kB / 0.6836 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.416, allocations: 1.5 kB / 0.6836 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.003774/0.4197, allocations: 1.166 MB / 0.6848 GB, free: 9.984 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)