Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009971/0.0009974, allocations: 178.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4794/0.4794, allocations: 90.8 MB / 104.5 MB, free: 9.797 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.366/1.366, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009883, allocations: 102.4 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.361e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3994, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.5318, allocations: 103.1 MB / 0.661 GB, free: 1.223 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.5322, allocations: 79.94 kB / 0.661 GB, free: 1.145 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01339/0.5456, allocations: 4.325 MB / 0.6653 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5456, allocations: 0 / 0.6653 GB, free: 12.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.5456, allocations: 0 / 0.6653 GB, free: 12.83 MB / 490.7 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.0004983/0.5461, allocations: 374.2 kB / 0.6656 GB, free: 12.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.5462, allocations: 13.3 kB / 0.6656 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.5463, allocations: 46.52 kB / 0.6657 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.5463, allocations: 3.906 kB / 0.6657 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.5465, allocations: 167.1 kB / 0.6658 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.5465, allocations: 11.94 kB / 0.6659 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.5465, allocations: 7.984 kB / 0.6659 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.5467, allocations: 69.67 kB / 0.6659 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5467, allocations: 0 / 0.6659 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.5468, allocations: 4 kB / 0.6659 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5468, allocations: 7.953 kB / 0.6659 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.5469, allocations: 28 kB / 0.666 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.5475, allocations: 328.6 kB / 0.6663 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.5477, allocations: 62.52 kB / 0.6663 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.5477, allocations: 28.86 kB / 0.6664 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.5478, allocations: 3.844 kB / 0.6664 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.5478, allocations: 38.56 kB / 0.6664 GB, free: 11.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.5478, allocations: 0 / 0.6664 GB, free: 11.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.00112/0.5489, allocations: 0.5642 MB / 0.667 GB, free: 10.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.549, allocations: 59.34 kB / 0.667 GB, free: 10.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.5491, allocations: 89 kB / 0.6671 GB, free: 10.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.5491, allocations: 33.7 kB / 0.6671 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.5492, allocations: 92.03 kB / 0.6672 GB, free: 10.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.5493, allocations: 39.45 kB / 0.6673 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.5493, allocations: 4 kB / 0.6673 GB, free: 10.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5494, allocations: 314.8 kB / 0.6676 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.5495, allocations: 20 kB / 0.6676 GB, free: 10.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.5496, allocations: 25.5 kB / 0.6676 GB, free: 10.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.5496, allocations: 31.94 kB / 0.6676 GB, free: 10.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5496, allocations: 0 / 0.6676 GB, free: 10.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001739/0.5498, allocations: 103.2 kB / 0.6677 GB, free: 10.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5498, allocations: 7.938 kB / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5498, allocations: 0 / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5499, allocations: 0 / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.55, allocations: 31.92 kB / 0.6678 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5501, allocations: 0 / 0.6678 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.5501, allocations: 15.98 kB / 0.6678 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5502, allocations: 4 kB / 0.6678 GB, free: 9.949 MB / 490.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 8.876e-05/0.5503, allocations: 108.9 kB / 0.6679 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.5503, allocations: 4 kB / 0.6679 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.5505, allocations: 111.9 kB / 0.668 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5505, allocations: 0 / 0.668 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5506, allocations: 0 / 0.668 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5506, allocations: 0 / 0.668 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.551, allocations: 374.5 kB / 0.6684 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.551, allocations: 0 / 0.6684 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.5512, allocations: 27.92 kB / 0.6684 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5512, allocations: 7.984 kB / 0.6684 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.5512, allocations: 7.984 kB / 0.6684 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5512, allocations: 0 / 0.6684 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5512, allocations: 0 / 0.6684 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.5516, allocations: 226.2 kB / 0.6686 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.5516, allocations: 81.02 kB / 0.6687 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5516, allocations: 4.031 kB / 0.6687 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.5518, allocations: 11.98 kB / 0.6687 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.5518, allocations: 5.312 kB / 0.6687 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.5518, allocations: 15.92 kB / 0.6687 GB, free: 8.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.5519, allocations: 83.28 kB / 0.6688 GB, free: 8.805 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5519, allocations: 4.062 kB / 0.6688 GB, free: 8.801 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.5522, allocations: 39.94 kB / 0.6689 GB, free: 8.762 MB / 490.7 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 () * 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.0007257/0.5529, allocations: 0.7904 MB / 0.6696 GB, free: 7.941 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.5531, allocations: 71.05 kB / 0.6697 GB, free: 7.875 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5531, allocations: 0 / 0.6697 GB, free: 7.875 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.5532, allocations: 40 kB / 0.6697 GB, free: 7.836 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.5534, allocations: 10.06 kB / 0.6697 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.554, allocations: 291.2 kB / 0.67 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.5543, allocations: 0.7028 MB / 0.6707 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.5544, allocations: 8.672 kB / 0.6707 GB, free: 6.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.5545, allocations: 24.55 kB / 0.6707 GB, free: 6.746 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5545, allocations: 0 / 0.6707 GB, free: 6.746 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.5692, allocations: 2.013 MB / 0.6727 GB, free: 4.961 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.5695, allocations: 194.1 kB / 0.6729 GB, free: 4.738 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.189, allocations: 0 / 0.6729 GB, free: 4.738 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)