Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.658/2.658, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001626/0.001626, allocations: 186 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 96.97 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007838/0.0007843, allocations: 11.59 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2882, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001365/0.2896, allocations: 0.986 MB / 0.9792 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006913/0.2903, allocations: 351.1 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.2903, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.2904, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.2904, allocations: 7.938 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.2909, allocations: 81.2 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.2909, allocations: 7.984 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.291, allocations: 4 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.291, allocations: 7.984 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.2911, allocations: 11.92 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.2911, allocations: 4 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.2915, allocations: 183.6 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.2915, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.2915, allocations: 33.7 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.2917, allocations: 56.16 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2917, allocations: 0 / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2917, allocations: 0 / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2917, allocations: 0 / 0.98 GB, free: 26.56 MB / 0.6198 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.0003426/0.2921, allocations: 345.2 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2921, allocations: 12.02 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.2922, allocations: 30.56 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2922, allocations: 4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2924, allocations: 167 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2924, allocations: 8 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.2924, allocations: 4 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.2925, allocations: 37.64 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2926, allocations: 3.984 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2926, allocations: 0 / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2926, allocations: 4 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.2926, allocations: 8 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2928, allocations: 161.6 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.293, allocations: 50.55 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2931, allocations: 0 / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2931, allocations: 30.56 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.2931, allocations: 0 / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006919/0.2938, allocations: 319.6 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2939, allocations: 51.41 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.2939, allocations: 101.8 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.294, allocations: 37.58 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.294, allocations: 80.14 kB / 0.9813 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.294, allocations: 19.7 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.294, allocations: 4 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2941, allocations: 314.8 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.2942, allocations: 15.98 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.2942, allocations: 8 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.2943, allocations: 16 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2943, allocations: 0 / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/0.2944, allocations: 69.53 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2944, allocations: 4 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2944, allocations: 0 / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2945, allocations: 0 / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.2946, allocations: 12 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2946, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.2946, allocations: 7.984 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2946, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 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 6.303e-05/0.2947, allocations: 117.8 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.2947, allocations: 0 / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.2949, allocations: 77.59 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2949, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.295, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.295, allocations: 3.984 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.2953, allocations: 315.5 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2953, allocations: 4 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2954, allocations: 16.03 kB / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2955, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2955, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.2955, allocations: 4 kB / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2955, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.2957, allocations: 193.9 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.2958, allocations: 93.19 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2958, allocations: 0 / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2959, allocations: 0 / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.2959, allocations: 4 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.296, allocations: 0 / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.296, allocations: 95.16 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.296, allocations: 0 / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000363/0.2964, allocations: 23.94 kB / 0.9827 GB, free: 23.36 MB / 0.6198 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 () * 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.0005306/0.2969, allocations: 0.811 MB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.2971, allocations: 32.17 kB / 0.9835 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2971, allocations: 0 / 0.9835 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.2971, allocations: 19.92 kB / 0.9835 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.2974, allocations: 16.08 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.2983, allocations: 488 kB / 0.984 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2984, allocations: 0.6848 MB / 0.9847 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.2985, allocations: 8.141 kB / 0.9847 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.2985, allocations: 7.438 kB / 0.9847 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.223e-06/0.2985, allocations: 0 / 0.9847 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.3208, allocations: 1.377 MB / 0.9861 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.3212, allocations: 217.3 kB / 0.9863 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/2.798, allocations: 2.109 kB / 0.9863 GB, free: 19.79 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)