Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.845/1.845, allocations: 292.6 MB / 307.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001413, allocations: 189 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008785/0.0008785, allocations: 84.7 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003787, allocations: 11.98 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.159, allocations: 139.6 MB / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.159, allocations: 79.72 kB / 1.125 GB, free: 35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00852/1.168, allocations: 2.835 MB / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.948e-06/1.168, allocations: 4 kB / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.168, allocations: 0 / 1.128 GB, free: 32.87 MB / 0.7292 GB 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.0003852/1.168, allocations: 355.3 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/1.168, allocations: 12.02 kB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/1.168, allocations: 30.56 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/1.168, allocations: 10.75 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/1.169, allocations: 162.7 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/1.169, allocations: 7.438 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/1.169, allocations: 8.5 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.169, allocations: 37.77 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.169, allocations: 0.8438 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/1.169, allocations: 8 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.169, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/1.169, allocations: 4 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/1.169, allocations: 158.7 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/1.169, allocations: 51.67 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/1.169, allocations: 0 / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/1.169, allocations: 36.91 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/1.169, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000674/1.17, allocations: 310.7 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.17, allocations: 51.41 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.711e-05/1.17, allocations: 95.34 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.17, allocations: 25.7 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/1.17, allocations: 87.7 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/1.17, allocations: 19.7 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/1.17, allocations: 0 / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/1.17, allocations: 318.8 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/1.17, allocations: 12.41 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/1.17, allocations: 8 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/1.17, allocations: 16.55 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/1.17, allocations: 4 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.739e-05/1.17, allocations: 65.66 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.171, allocations: 4 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.171, allocations: 7.5 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.171, allocations: 0 / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/1.171, allocations: 12.69 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.171, allocations: 0.625 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/1.171, allocations: 5.031 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/1.171, allocations: 0 / 1.129 GB, free: 30.79 MB / 0.7292 GB 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 7.462e-05/1.171, allocations: 117.8 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/1.171, allocations: 3.906 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/1.171, allocations: 82.03 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.171, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.171, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.171, allocations: 0.625 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/1.171, allocations: 317.3 kB / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.171, allocations: 0.6875 kB / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/1.171, allocations: 19.5 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.171, allocations: 1.219 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/1.171, allocations: 0 / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.171, allocations: 0.8125 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.171, allocations: 4 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/1.172, allocations: 189.9 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/1.172, allocations: 94.17 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/1.172, allocations: 3.422 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/1.172, allocations: 0 / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/1.172, allocations: 4 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/1.172, allocations: 0 / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.644e-05/1.172, allocations: 91.27 kB / 1.13 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.172, allocations: 0 / 1.13 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002701/1.172, allocations: 23.94 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB 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.0005143/1.173, allocations: 0.8195 MB / 1.131 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001145/1.173, allocations: 31.42 kB / 1.131 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.173, allocations: 3.938 kB / 1.131 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/1.173, allocations: 19.5 kB / 1.131 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/1.173, allocations: 16.08 kB / 1.131 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/1.174, allocations: 496.1 kB / 1.132 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/1.174, allocations: 0.6804 MB / 1.132 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.374e-05/1.174, allocations: 5.875 kB / 1.132 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/1.174, allocations: 14.95 kB / 1.132 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.174, allocations: 64 / 1.132 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/1.191, allocations: 1.363 MB / 1.134 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/1.192, allocations: 220.8 kB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/3.449, allocations: 0 / 1.134 GB, free: 26.75 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)