Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 190.8 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4348/0.4348, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.4 MB / 342.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009144, allocations: 88.19 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.173e-06, allocations: 4 kB / 493.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3888, allocations: 72.29 MB / 0.5529 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.5042, allocations: 101.7 MB / 0.6522 GB, free: 8.336 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5045, allocations: 79.94 kB / 0.6523 GB, free: 8.258 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01295/0.5175, allocations: 4.178 MB / 0.6563 GB, free: 4.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.5175, allocations: 0.5625 kB / 0.6563 GB, free: 4.113 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004016/0.5179, allocations: 352 kB / 0.6567 GB, free: 3.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.518, allocations: 12.75 kB / 0.6567 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.5181, allocations: 0 / 0.6567 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.5182, allocations: 167.4 kB / 0.6569 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.5182, allocations: 6.281 kB / 0.6569 GB, free: 3.508 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.5183, allocations: 4 kB / 0.6569 GB, free: 3.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.289e-05/0.5183, allocations: 12.75 kB / 0.6569 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.5184, allocations: 47.48 kB / 0.6569 GB, free: 3.441 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5185, allocations: 0.7188 kB / 0.6569 GB, free: 3.441 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5185, allocations: 4.516 kB / 0.6569 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5185, allocations: 2.531 kB / 0.6569 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.5187, allocations: 147.3 kB / 0.6571 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.5188, allocations: 38.41 kB / 0.6571 GB, free: 3.215 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.5188, allocations: 22.61 kB / 0.6571 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.5188, allocations: 240 / 0.6571 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5189, allocations: 44.86 kB / 0.6572 GB, free: 3.141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.5189, allocations: 0.75 kB / 0.6572 GB, free: 3.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008799/0.5198, allocations: 0.5082 MB / 0.6577 GB, free: 2.543 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.5198, allocations: 55.41 kB / 0.6577 GB, free: 2.477 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.5199, allocations: 94.19 kB / 0.6578 GB, free: 2.379 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.5199, allocations: 25.7 kB / 0.6578 GB, free: 2.348 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.5199, allocations: 81.14 kB / 0.6579 GB, free: 2.266 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.52, allocations: 39.39 kB / 0.6579 GB, free: 2.227 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.52, allocations: 7.344 kB / 0.658 GB, free: 2.223 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.5201, allocations: 318.8 kB / 0.6583 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.5201, allocations: 16 kB / 0.6583 GB, free: 1.887 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.5202, allocations: 20 kB / 0.6583 GB, free: 1.867 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.5202, allocations: 18.5 kB / 0.6583 GB, free: 1.852 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5202, allocations: 0 / 0.6583 GB, free: 1.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001299/0.5204, allocations: 89.58 kB / 0.6584 GB, free: 1.758 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5204, allocations: 8 kB / 0.6584 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5204, allocations: 0.5312 kB / 0.6584 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5204, allocations: 1.406 kB / 0.6584 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5205, allocations: 26.83 kB / 0.6584 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.5205, allocations: 0 / 0.6584 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.5206, allocations: 4 kB / 0.6584 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.5206, allocations: 6.125 kB / 0.6584 GB, free: 1.719 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.5207, allocations: 109.5 kB / 0.6585 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.5207, allocations: 0.6875 kB / 0.6585 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.5209, allocations: 96.38 kB / 0.6586 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5209, allocations: 8.609 kB / 0.6586 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5209, allocations: 3.938 kB / 0.6587 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5209, allocations: 0.5312 kB / 0.6587 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.5213, allocations: 321.7 kB / 0.659 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5213, allocations: 4.719 kB / 0.659 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5214, allocations: 19.98 kB / 0.659 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5214, allocations: 0.625 kB / 0.659 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5214, allocations: 0 / 0.659 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.5214, allocations: 4.5 kB / 0.659 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5214, allocations: 7.656 kB / 0.659 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002134/0.5217, allocations: 200.7 kB / 0.6592 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.5217, allocations: 81.02 kB / 0.6593 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.5217, allocations: 0.5625 kB / 0.6593 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.5218, allocations: 8.922 kB / 0.6593 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.5218, allocations: 4 kB / 0.6593 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5219, allocations: 4.859 kB / 0.6593 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.721e-05/0.5219, allocations: 87.41 kB / 0.6594 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.5222, allocations: 39.92 kB / 0.6594 GB, free: 0.6562 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002151/0.5224, allocations: 143.1 kB / 0.6595 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.5225, allocations: 48 kB / 0.6596 GB, free: 472 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5225, allocations: 0 / 0.6596 GB, free: 472 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.5226, allocations: 31.94 kB / 0.6596 GB, free: 440 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.5227, allocations: 7.281 kB / 0.6596 GB, free: 436 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.5232, allocations: 224.6 kB / 0.6598 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.5234, allocations: 0.7036 MB / 0.6605 GB, free: 15.46 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5234, allocations: 0 / 0.6605 GB, free: 15.46 MB / 490.7 MB Notification: Performance of Templates: time 0.003183/0.5266, allocations: 1.057 MB / 0.6616 GB, free: 14.45 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)