Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5381/0.5381, allocations: 90.92 MB / 99.35 MB, free: 2.156 MB / 74.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 343.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008885/0.0008888, allocations: 99 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.639e-05, allocations: 0 / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 72.31 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6045, allocations: 101.6 MB / 0.6528 GB, free: 8.586 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.6048, allocations: 81.81 kB / 0.6529 GB, free: 8.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.6163, allocations: 4.031 MB / 0.6568 GB, free: 5.207 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6164, allocations: 0 / 0.6568 GB, free: 5.207 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.6164, allocations: 0 / 0.6568 GB, free: 5.207 MB / 458.7 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.0003167/0.6167, allocations: 342.7 kB / 0.6571 GB, free: 4.832 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6168, allocations: 8.031 kB / 0.6571 GB, free: 4.824 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.6168, allocations: 11.91 kB / 0.6571 GB, free: 4.812 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6169, allocations: 167 kB / 0.6573 GB, free: 4.609 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6169, allocations: 0 / 0.6573 GB, free: 4.609 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.617, allocations: 4 kB / 0.6573 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.99e-05/0.617, allocations: 7.125 kB / 0.6573 GB, free: 4.602 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.773e-05/0.6171, allocations: 37.69 kB / 0.6573 GB, free: 4.559 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.6171, allocations: 0 / 0.6573 GB, free: 4.559 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.6171, allocations: 3.953 kB / 0.6573 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.6172, allocations: 0 / 0.6573 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.6173, allocations: 141.7 kB / 0.6575 GB, free: 4.383 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.6175, allocations: 41.81 kB / 0.6575 GB, free: 4.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.6175, allocations: 20.08 kB / 0.6575 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.6175, allocations: 3.984 kB / 0.6575 GB, free: 4.316 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.6176, allocations: 30.56 kB / 0.6576 GB, free: 4.277 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.6176, allocations: 4 kB / 0.6576 GB, free: 4.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004784/0.6181, allocations: 278.8 kB / 0.6578 GB, free: 3.965 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.6181, allocations: 51.41 kB / 0.6579 GB, free: 3.902 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.081e-05/0.6182, allocations: 96.94 kB / 0.658 GB, free: 3.801 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.6182, allocations: 25.7 kB / 0.658 GB, free: 3.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.6182, allocations: 83.58 kB / 0.6581 GB, free: 3.688 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6183, allocations: 23.64 kB / 0.6581 GB, free: 3.664 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.6183, allocations: 0 / 0.6581 GB, free: 3.664 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.6184, allocations: 314.2 kB / 0.6584 GB, free: 3.352 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.6184, allocations: 11.5 kB / 0.6584 GB, free: 3.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.6184, allocations: 8.844 kB / 0.6584 GB, free: 3.336 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.6185, allocations: 15.42 kB / 0.6584 GB, free: 3.324 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6185, allocations: 4 kB / 0.6585 GB, free: 3.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.18e-05/0.6186, allocations: 55.94 kB / 0.6585 GB, free: 3.266 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.6186, allocations: 4 kB / 0.6585 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6186, allocations: 0 / 0.6585 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6186, allocations: 0 / 0.6585 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.6187, allocations: 15.94 kB / 0.6585 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.6187, allocations: 0 / 0.6585 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.6187, allocations: 7.938 kB / 0.6585 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.6187, allocations: 3.953 kB / 0.6585 GB, free: 3.234 MB / 458.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 (7): * Single equations (assignments): 7 * 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 6.511e-05/0.6188, allocations: 108.2 kB / 0.6586 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.6188, allocations: 3.906 kB / 0.6586 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.6189, allocations: 64.52 kB / 0.6587 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.6189, allocations: 0 / 0.6587 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.619, allocations: 0 / 0.6587 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.619, allocations: 3.938 kB / 0.6587 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.6192, allocations: 292.4 kB / 0.659 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6193, allocations: 0 / 0.659 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.6193, allocations: 15.98 kB / 0.659 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.6193, allocations: 0 / 0.659 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.6193, allocations: 0 / 0.659 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6194, allocations: 3.938 kB / 0.659 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6194, allocations: 4 kB / 0.659 GB, free: 2.715 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.6195, allocations: 187.8 kB / 0.6592 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.6196, allocations: 85.12 kB / 0.6593 GB, free: 2.422 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.6196, allocations: 0 / 0.6593 GB, free: 2.422 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.055e-05/0.6197, allocations: 4 kB / 0.6593 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.6197, allocations: 3.953 kB / 0.6593 GB, free: 2.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.6197, allocations: 4 kB / 0.6593 GB, free: 2.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.946e-05/0.6197, allocations: 82.95 kB / 0.6594 GB, free: 2.332 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6197, allocations: 4.062 kB / 0.6594 GB, free: 2.328 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.62, allocations: 24 kB / 0.6594 GB, free: 2.305 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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 (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.0001889/0.6202, allocations: 131.1 kB / 0.6595 GB, free: 2.164 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.499e-05/0.6203, allocations: 26.94 kB / 0.6595 GB, free: 2.145 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6203, allocations: 3.938 kB / 0.6595 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.6203, allocations: 23.05 kB / 0.6596 GB, free: 2.121 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.6205, allocations: 2.062 kB / 0.6596 GB, free: 2.121 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.6208, allocations: 143.5 kB / 0.6597 GB, free: 1.961 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.621, allocations: 0.6846 MB / 0.6604 GB, free: 1.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.621, allocations: 8.375 kB / 0.6604 GB, free: 1.242 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.6211, allocations: 11.44 kB / 0.6604 GB, free: 1.23 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6211, allocations: 0 / 0.6604 GB, free: 1.23 MB / 458.7 MB Notification: Performance of Templates: time 0.002428/0.6235, allocations: 0.5647 MB / 0.6609 GB, free: 0.6836 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)