Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.0009819, allocations: 91.06 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007287/0.0007288, allocations: 20.64 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2366, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001325/0.238, allocations: 1.009 MB / 0.7884 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.2389, allocations: 0.566 MB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.239, allocations: 0 / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.239, allocations: 4 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.239, allocations: 7.984 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.2396, allocations: 127.5 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.2397, allocations: 27.91 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.2397, allocations: 0 / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.521e-05/0.2398, allocations: 15.98 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.746e-05/0.2398, allocations: 11.88 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2399, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.2404, allocations: 347.3 kB / 0.7895 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.2404, allocations: 3.984 kB / 0.7895 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.2404, allocations: 29.7 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.2406, allocations: 108 kB / 0.7896 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2407, allocations: 0 / 0.7896 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2407, allocations: 0 / 0.7896 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2407, allocations: 0 / 0.7896 GB, free: 9.566 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003763/0.2411, allocations: 355.3 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2411, allocations: 11.97 kB / 0.7899 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.2412, allocations: 42.55 kB / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.2412, allocations: 0 / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2413, allocations: 167 kB / 0.7901 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2413, allocations: 8 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.2414, allocations: 4 kB / 0.7902 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2415, allocations: 45.69 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2415, allocations: 0 / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2415, allocations: 4 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2415, allocations: 0 / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.2416, allocations: 23.92 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.2418, allocations: 181.5 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.2419, allocations: 58.55 kB / 0.7905 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.242, allocations: 28.84 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.242, allocations: 0 / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.242, allocations: 34.56 kB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.242, allocations: 0 / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001211/0.2433, allocations: 0.5879 MB / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2433, allocations: 51.41 kB / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.2434, allocations: 93.86 kB / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2434, allocations: 29.92 kB / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2434, allocations: 88.08 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.2435, allocations: 35.45 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.2435, allocations: 4 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.2436, allocations: 322.8 kB / 0.7917 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.2437, allocations: 20 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.2437, allocations: 23.98 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.2438, allocations: 27 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2438, allocations: 0 / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000159/0.244, allocations: 93.58 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.244, allocations: 15.94 kB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.244, allocations: 0 / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.244, allocations: 4 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2441, allocations: 20 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2442, allocations: 7.984 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.2442, allocations: 0 / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2442, allocations: 7.984 kB / 0.7919 GB, free: 6.898 MB / 0.6075 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 (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.728e-05/0.2443, allocations: 114.5 kB / 0.792 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.2443, allocations: 8 kB / 0.792 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.2445, allocations: 105.5 kB / 0.7921 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2446, allocations: 4 kB / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2446, allocations: 0 / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2446, allocations: 3.984 kB / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.245, allocations: 358.5 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.245, allocations: 3.984 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.2451, allocations: 20 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2451, allocations: 0 / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2451, allocations: 8 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2451, allocations: 0 / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2452, allocations: 4 kB / 0.7925 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2454, allocations: 211.5 kB / 0.7927 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.2455, allocations: 81.02 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2455, allocations: 7.969 kB / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.2456, allocations: 0 / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.2456, allocations: 11.98 kB / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.2456, allocations: 12 kB / 0.7928 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.2457, allocations: 75.28 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2457, allocations: 0 / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002861/0.246, allocations: 43.92 kB / 0.7929 GB, free: 5.738 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0006306/0.2466, allocations: 0.7711 MB / 0.7937 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.2468, allocations: 67.86 kB / 0.7937 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2468, allocations: 0 / 0.7937 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.933e-05/0.2468, allocations: 31.92 kB / 0.7938 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2471, allocations: 8 kB / 0.7938 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2481, allocations: 0.6642 MB / 0.7944 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2484, allocations: 0.6848 MB / 0.7951 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.735e-05/0.2484, allocations: 7.984 kB / 0.7951 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.2485, allocations: 19.5 kB / 0.7951 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2485, allocations: 0 / 0.7951 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2603, allocations: 1.808 MB / 0.7969 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2606, allocations: 223.8 kB / 0.7971 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.941, allocations: 4 kB / 0.7971 GB, free: 1.547 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: