Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 172.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4766/0.4766, allocations: 86.26 MB / 103.8 MB, free: 14.57 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.438/1.438, allocations: 223.3 MB / 348.4 MB, free: 4.965 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.0007837/0.000784, allocations: 99.77 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004212, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2944, allocations: 71.02 MB / 0.5595 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.4143, allocations: 100.9 MB / 0.6579 GB, free: 8.652 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4146, allocations: 77.58 kB / 0.658 GB, free: 8.578 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00825/0.4229, allocations: 2.874 MB / 0.6608 GB, free: 5.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.859e-06/0.4229, allocations: 0 / 0.6608 GB, free: 5.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.4229, allocations: 3.938 kB / 0.6608 GB, free: 5.699 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004147/0.4234, allocations: 348 kB / 0.6612 GB, free: 5.309 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4234, allocations: 8.031 kB / 0.6612 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.4235, allocations: 8.844 kB / 0.6612 GB, free: 5.293 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4236, allocations: 160.4 kB / 0.6613 GB, free: 5.098 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4236, allocations: 4.375 kB / 0.6613 GB, free: 5.094 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.4237, allocations: 8.359 kB / 0.6613 GB, free: 5.086 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4238, allocations: 38.25 kB / 0.6614 GB, free: 5.043 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4238, allocations: 192 / 0.6614 GB, free: 5.043 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4239, allocations: 3.938 kB / 0.6614 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4239, allocations: 8 kB / 0.6614 GB, free: 5.031 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.4239, allocations: 7.984 kB / 0.6614 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.4241, allocations: 161.6 kB / 0.6616 GB, free: 4.816 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.4243, allocations: 42.61 kB / 0.6616 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.4244, allocations: 16.8 kB / 0.6616 GB, free: 4.746 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4244, allocations: 4.094 kB / 0.6616 GB, free: 4.742 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.4245, allocations: 38.55 kB / 0.6617 GB, free: 4.695 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.4245, allocations: 0 / 0.6617 GB, free: 4.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007104/0.4252, allocations: 306.2 kB / 0.6619 GB, free: 4.344 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4252, allocations: 55.34 kB / 0.662 GB, free: 4.277 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.4253, allocations: 97.84 kB / 0.6621 GB, free: 4.172 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4254, allocations: 33.7 kB / 0.6621 GB, free: 4.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.4254, allocations: 80.14 kB / 0.6622 GB, free: 4.051 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.4254, allocations: 19.72 kB / 0.6622 GB, free: 4.031 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.4255, allocations: 0 / 0.6622 GB, free: 4.031 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4256, allocations: 314.8 kB / 0.6625 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.4256, allocations: 15.97 kB / 0.6625 GB, free: 3.699 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.4257, allocations: 12 kB / 0.6625 GB, free: 3.688 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.4257, allocations: 36.98 kB / 0.6626 GB, free: 3.648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4257, allocations: 0 / 0.6626 GB, free: 3.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001022/0.4258, allocations: 61.61 kB / 0.6626 GB, free: 3.582 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4259, allocations: 13.5 kB / 0.6626 GB, free: 3.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4259, allocations: 7.875 kB / 0.6627 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4259, allocations: 7.984 kB / 0.6627 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.426, allocations: 8 kB / 0.6627 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.426, allocations: 4 kB / 0.6627 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.426, allocations: 0 / 0.6627 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.426, allocations: 0 / 0.6627 GB, free: 3.543 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 () * Number of clocked 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 0.0001038/0.4261, allocations: 113.8 kB / 0.6628 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.4261, allocations: 4.516 kB / 0.6628 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.4263, allocations: 77.58 kB / 0.6629 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.4264, allocations: 8 kB / 0.6629 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4264, allocations: 0 / 0.6629 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4264, allocations: 0 / 0.6629 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.4268, allocations: 311.4 kB / 0.6632 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4268, allocations: 0 / 0.6632 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.4269, allocations: 19.92 kB / 0.6632 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4269, allocations: 4 kB / 0.6632 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4269, allocations: 0 / 0.6632 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4269, allocations: 0 / 0.6632 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4269, allocations: 7.969 kB / 0.6632 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.4272, allocations: 184.2 kB / 0.6634 GB, free: 2.723 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.4273, allocations: 77.11 kB / 0.6634 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.4273, allocations: 4.031 kB / 0.6635 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.4274, allocations: 0 / 0.6635 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.4274, allocations: 15.92 kB / 0.6635 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4274, allocations: 64 / 0.6635 GB, free: 2.609 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.677e-05/0.4275, allocations: 83.28 kB / 0.6635 GB, free: 2.527 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4275, allocations: 0 / 0.6635 GB, free: 2.527 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.4278, allocations: 23.94 kB / 0.6636 GB, free: 2.504 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002562/0.428, allocations: 137.2 kB / 0.6637 GB, free: 2.363 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.4282, allocations: 32.39 kB / 0.6637 GB, free: 2.332 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4282, allocations: 4 kB / 0.6637 GB, free: 2.328 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.4282, allocations: 11.94 kB / 0.6637 GB, free: 2.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.4285, allocations: 18.64 kB / 0.6638 GB, free: 2.301 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.429, allocations: 218 kB / 0.664 GB, free: 2.059 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4294, allocations: 0.677 MB / 0.6646 GB, free: 1.355 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.4295, allocations: 15.92 kB / 0.6646 GB, free: 1.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.4295, allocations: 11.44 kB / 0.6647 GB, free: 1.328 MB / 474.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4295, allocations: 3.938 kB / 0.6647 GB, free: 1.324 MB / 474.7 MB Notification: Performance of Templates: time 0.003287/0.4328, allocations: 0.6087 MB / 0.6653 GB, free: 0.75 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)