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.001713/0.001713, allocations: 183.5 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5422/0.5422, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.778/1.778, allocations: 223.2 MB / 354.3 MB, free: 12.17 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.001047/0.001047, allocations: 102.7 kB / 427.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 8 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 72.31 MB / 0.5689 GB, free: 1.789 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5477/0.7253, allocations: 103.1 MB / 0.6696 GB, free: 1.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.7256, allocations: 87.94 kB / 0.6697 GB, free: 1.141 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01317/0.7387, allocations: 4.335 MB / 0.674 GB, free: 12.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.328e-05/0.7388, allocations: 0 / 0.674 GB, free: 12.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.7388, allocations: 3.938 kB / 0.674 GB, free: 12.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005221/0.7394, allocations: 383.7 kB / 0.6743 GB, free: 12.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.7394, allocations: 8.031 kB / 0.6743 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.457e-05/0.7395, allocations: 38.52 kB / 0.6744 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.7395, allocations: 11.84 kB / 0.6744 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.7397, allocations: 163.1 kB / 0.6745 GB, free: 12.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.7397, allocations: 4 kB / 0.6745 GB, free: 12.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.7397, allocations: 11.98 kB / 0.6746 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.74, allocations: 88.91 kB / 0.6746 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.74, allocations: 0 / 0.6746 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7401, allocations: 3.938 kB / 0.6746 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7401, allocations: 3.953 kB / 0.6746 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.7403, allocations: 59.95 kB / 0.6747 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.741, allocations: 328.7 kB / 0.675 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.7413, allocations: 94.42 kB / 0.6751 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.7413, allocations: 0 / 0.6751 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.7413, allocations: 34.56 kB / 0.6751 GB, free: 11.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.7414, allocations: 0 / 0.6751 GB, free: 11.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001765/0.7431, allocations: 0.6779 MB / 0.6758 GB, free: 10.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.7432, allocations: 51.41 kB / 0.6759 GB, free: 10.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.7433, allocations: 96.98 kB / 0.6759 GB, free: 10.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.7433, allocations: 25.7 kB / 0.676 GB, free: 10.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.7434, allocations: 92.05 kB / 0.6761 GB, free: 10.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.7434, allocations: 35.45 kB / 0.6761 GB, free: 10.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.7435, allocations: 4 kB / 0.6761 GB, free: 10.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7436, allocations: 318.8 kB / 0.6764 GB, free: 10.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.7438, allocations: 35.97 kB / 0.6764 GB, free: 9.992 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.7439, allocations: 31.92 kB / 0.6765 GB, free: 9.961 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.744, allocations: 43.98 kB / 0.6765 GB, free: 9.918 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7441, allocations: 3.953 kB / 0.6765 GB, free: 9.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004549/0.7445, allocations: 121.7 kB / 0.6766 GB, free: 9.789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7446, allocations: 5.406 kB / 0.6766 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7446, allocations: 3.984 kB / 0.6766 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.7446, allocations: 8.094 kB / 0.6766 GB, free: 9.773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.7448, allocations: 35.92 kB / 0.6767 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/0.7448, allocations: 7.938 kB / 0.6767 GB, free: 9.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.7449, allocations: 4 kB / 0.6767 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.7449, allocations: 4 kB / 0.6767 GB, free: 9.723 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 (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 0.0001073/0.745, allocations: 117.8 kB / 0.6768 GB, free: 9.598 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.7451, allocations: 11.86 kB / 0.6768 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.7455, allocations: 137.5 kB / 0.6769 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7455, allocations: 4 kB / 0.677 GB, free: 9.438 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7455, allocations: 0 / 0.677 GB, free: 9.438 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.7455, allocations: 3.984 kB / 0.677 GB, free: 9.434 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.7462, allocations: 394.4 kB / 0.6773 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7462, allocations: 0 / 0.6773 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.7464, allocations: 27.98 kB / 0.6774 GB, free: 8.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.7464, allocations: 0 / 0.6774 GB, free: 8.965 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.7464, allocations: 7.984 kB / 0.6774 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.7464, allocations: 3.938 kB / 0.6774 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7464, allocations: 0 / 0.6774 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.747, allocations: 263.4 kB / 0.6776 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.747, allocations: 81.05 kB / 0.6777 GB, free: 8.582 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.7471, allocations: 8.062 kB / 0.6777 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.7472, allocations: 8 kB / 0.6777 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.7472, allocations: 7.984 kB / 0.6777 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7472, allocations: 8 kB / 0.6777 GB, free: 8.551 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.454e-05/0.7473, allocations: 79.27 kB / 0.6778 GB, free: 8.473 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7473, allocations: 0 / 0.6778 GB, free: 8.473 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.7476, allocations: 40 kB / 0.6778 GB, free: 8.434 MB / 474.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 () * 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 (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.001096/0.7487, allocations: 0.837 MB / 0.6787 GB, free: 7.574 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.7491, allocations: 96.06 kB / 0.6788 GB, free: 7.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7491, allocations: 0 / 0.6788 GB, free: 7.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.7492, allocations: 51.91 kB / 0.6788 GB, free: 7.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.7495, allocations: 7.938 kB / 0.6788 GB, free: 7.422 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.7512, allocations: 0.7633 MB / 0.6796 GB, free: 6.605 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.7516, allocations: 0.7043 MB / 0.6802 GB, free: 5.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.019e-05/0.7517, allocations: 4.672 kB / 0.6802 GB, free: 5.871 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.7518, allocations: 27.42 kB / 0.6803 GB, free: 5.844 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7518, allocations: 0 / 0.6803 GB, free: 5.844 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.768, allocations: 1.999 MB / 0.6822 GB, free: 4.051 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.7684, allocations: 221.1 kB / 0.6824 GB, free: 3.812 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.398, allocations: 3.266 kB / 0.6824 GB, free: 3.812 MB / 474.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)