Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.645/1.645, allocations: 289.7 MB / 302.2 MB, free: 2.109 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.001118/0.001118, allocations: 180.2 kB / 371.6 MB, free: 3.414 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.646/1.646, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009824/0.0009822, allocations: 87.88 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.223e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2713, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9072/1.179, allocations: 139.7 MB / 1.116 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.179, allocations: 77.67 kB / 1.116 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01043/1.189, allocations: 4 MB / 1.12 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/1.189, allocations: 2.812 kB / 1.12 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.415e-06/1.189, allocations: 0 / 1.12 GB, free: 41.74 MB / 0.7448 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.0002656/1.19, allocations: 344.6 kB / 1.121 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.19, allocations: 8.031 kB / 1.121 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/1.19, allocations: 34.56 kB / 1.121 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/1.19, allocations: 3.75 kB / 1.121 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/1.19, allocations: 164 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.19, allocations: 6.75 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/1.19, allocations: 7.406 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/1.19, allocations: 40.03 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/1.19, allocations: 0 / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.19, allocations: 0 / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.19, allocations: 0 / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/1.19, allocations: 18.23 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/1.19, allocations: 160.5 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/1.191, allocations: 50.59 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/1.191, allocations: 16.05 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/1.191, allocations: 0 / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/1.191, allocations: 34.5 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/1.191, allocations: 3.938 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0005211/1.191, allocations: 300.5 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/1.191, allocations: 55.34 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/1.191, allocations: 99.72 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/1.191, allocations: 26.27 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/1.191, allocations: 80.14 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/1.191, allocations: 27.14 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.191, allocations: 0 / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/1.191, allocations: 322.6 kB / 1.122 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/1.191, allocations: 8 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/1.191, allocations: 12.56 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/1.192, allocations: 11.38 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.192, allocations: 4 kB / 1.122 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.942e-05/1.192, allocations: 56.47 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.192, allocations: 8 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.192, allocations: 0 / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.192, allocations: 0.75 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/1.192, allocations: 15.41 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.192, allocations: 0.75 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/1.192, allocations: 6.625 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/1.192, allocations: 0 / 1.122 GB, free: 39.74 MB / 0.7448 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 () * 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 4.631e-05/1.192, allocations: 111.9 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/1.192, allocations: 4 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/1.192, allocations: 72.22 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.192, allocations: 4 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/1.192, allocations: 0 / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.192, allocations: 0 / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/1.192, allocations: 319.4 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.192, allocations: 0 / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/1.192, allocations: 24.17 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.192, allocations: 0 / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/1.192, allocations: 0 / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.192, allocations: 0 / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.192, allocations: 4 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/1.193, allocations: 183.8 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/1.193, allocations: 88.77 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/1.193, allocations: 5.062 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/1.193, allocations: 6.625 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/1.193, allocations: 3.516 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/1.193, allocations: 7.953 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.21e-05/1.193, allocations: 75.28 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.032e-06/1.193, allocations: 0 / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002189/1.193, allocations: 31.31 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB 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.0003992/1.193, allocations: 0.8274 MB / 1.124 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.903e-05/1.193, allocations: 33.44 kB / 1.124 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.193, allocations: 0 / 1.124 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.321e-05/1.193, allocations: 17.94 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/1.194, allocations: 10.33 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/1.194, allocations: 188.7 kB / 1.124 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.194, allocations: 0.6877 MB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.278e-05/1.194, allocations: 6.734 kB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/1.194, allocations: 15 kB / 1.125 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/1.194, allocations: 0 / 1.125 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/1.206, allocations: 1.344 MB / 1.126 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/1.206, allocations: 195.6 kB / 1.126 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.856, allocations: 4.062 kB / 1.126 GB, free: 36.07 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)