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.001284/0.001284, allocations: 101.8 kB / 16.35 MB, free: 5.879 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.001009/0.001009, allocations: 199.1 kB / 17.3 MB, free: 5.52 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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 0.8271/0.8271, allocations: 143.1 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 82.03 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002353/0.3433, allocations: 1.474 MB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007953/0.3441, allocations: 0.6341 MB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.3442, allocations: 0 / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.3442, allocations: 3.938 kB / 0.5978 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.3443, allocations: 9.375 kB / 0.5978 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.3449, allocations: 155.9 kB / 0.5979 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.3449, allocations: 57.16 kB / 0.598 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.345, allocations: 4 kB / 0.598 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.345, allocations: 27.91 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.3451, allocations: 25.19 kB / 0.598 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3451, allocations: 4 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.3455, allocations: 347.3 kB / 0.5984 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.3455, allocations: 15.94 kB / 0.5984 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.3456, allocations: 28.59 kB / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.3458, allocations: 173.3 kB / 0.5986 GB, free: 13.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3458, allocations: 1.5 kB / 0.5986 GB, free: 13.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3458, allocations: 0 / 0.5986 GB, free: 13.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3458, allocations: 0 / 0.5986 GB, free: 13.23 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.0004581/0.3463, allocations: 400.7 kB / 0.5989 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3463, allocations: 8.031 kB / 0.599 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3464, allocations: 9.625 kB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.947e-05/0.3465, allocations: 176.2 kB / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.3465, allocations: 9.875 kB / 0.5991 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3465, allocations: 8.375 kB / 0.5991 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3467, allocations: 74.22 kB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3468, allocations: 0.875 kB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3468, allocations: 7.875 kB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3468, allocations: 5.688 kB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.347, allocations: 49.33 kB / 0.5993 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.3475, allocations: 330.9 kB / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3478, allocations: 75.88 kB / 0.5997 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.3479, allocations: 32.83 kB / 0.5997 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3479, allocations: 1.344 kB / 0.5997 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.3479, allocations: 38.5 kB / 0.5997 GB, free: 11.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3479, allocations: 1.469 kB / 0.5997 GB, free: 11.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001375/0.3493, allocations: 0.6507 MB / 0.6004 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.3493, allocations: 51.41 kB / 0.6004 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.79e-05/0.3494, allocations: 111 kB / 0.6005 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3494, allocations: 25.7 kB / 0.6006 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.3494, allocations: 93.36 kB / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3495, allocations: 39.44 kB / 0.6007 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3495, allocations: 29.72 kB / 0.6007 GB, free: 10.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.3496, allocations: 320.2 kB / 0.601 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3497, allocations: 31.97 kB / 0.601 GB, free: 10.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3498, allocations: 29.27 kB / 0.6011 GB, free: 10.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.35, allocations: 73.7 kB / 0.6011 GB, free: 10.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.35, allocations: 0.9375 kB / 0.6011 GB, free: 10.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002607/0.3503, allocations: 120.2 kB / 0.6013 GB, free: 10.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3503, allocations: 11.94 kB / 0.6013 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3503, allocations: 0 / 0.6013 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3503, allocations: 1.531 kB / 0.6013 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3505, allocations: 27.98 kB / 0.6013 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3505, allocations: 3.984 kB / 0.6013 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.3505, allocations: 9.281 kB / 0.6013 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3506, allocations: 4 kB / 0.6013 GB, free: 10.12 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 5.28e-05/0.3506, allocations: 119.1 kB / 0.6014 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3506, allocations: 11.91 kB / 0.6014 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.351, allocations: 124.5 kB / 0.6016 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.351, allocations: 0 / 0.6016 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.351, allocations: 4 kB / 0.6016 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.351, allocations: 5.281 kB / 0.6016 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.3514, allocations: 382.4 kB / 0.6019 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3515, allocations: 5.219 kB / 0.6019 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3516, allocations: 23.98 kB / 0.602 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3516, allocations: 4 kB / 0.602 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3516, allocations: 4.969 kB / 0.602 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3516, allocations: 0 / 0.602 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3516, allocations: 0 / 0.602 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.3521, allocations: 255.5 kB / 0.6022 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.3521, allocations: 85.75 kB / 0.6023 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3521, allocations: 7.938 kB / 0.6023 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3522, allocations: 5.031 kB / 0.6023 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.3523, allocations: 8.578 kB / 0.6023 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3523, allocations: 8 kB / 0.6023 GB, free: 8.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.021e-05/0.3523, allocations: 80.19 kB / 0.6024 GB, free: 8.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3523, allocations: 0 / 0.6024 GB, free: 8.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3526, allocations: 41.14 kB / 0.6024 GB, free: 8.879 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.000162/0.3527, allocations: 131.7 kB / 0.6026 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.353, allocations: 89.03 kB / 0.6026 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.353, allocations: 0 / 0.6026 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3532, allocations: 48.61 kB / 0.6027 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3534, allocations: 15.3 kB / 0.6027 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.354, allocations: 312.7 kB / 0.603 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.3541, allocations: 0.6892 MB / 0.6037 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.06e-05/0.3541, allocations: 16.67 kB / 0.6037 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.3542, allocations: 11.44 kB / 0.6037 GB, free: 7.582 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3542, allocations: 0 / 0.6037 GB, free: 7.582 MB / 446.1 MB Notification: Performance of Templates: time 0.003011/0.3572, allocations: 1.155 MB / 0.6048 GB, free: 6.477 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)