Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.658/2.658, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.001316/0.001316, allocations: 179.2 kB / 371 MB, free: 10.88 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.159/2.159, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.001089/0.001088, allocations: 97.06 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 12.5 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2475, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001638/0.2492, allocations: 1.187 MB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2503, allocations: 0.5814 MB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.2504, allocations: 0 / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.2504, allocations: 3.938 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.2505, allocations: 4 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.2511, allocations: 128.8 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.2512, allocations: 43.86 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.2513, allocations: 15.92 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.2513, allocations: 15.98 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.2514, allocations: 31.84 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2514, allocations: 4 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006347/0.252, allocations: 335.4 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2521, allocations: 7.938 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.2521, allocations: 33.7 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.2524, allocations: 120 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2524, allocations: 0 / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2524, allocations: 0 / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2524, allocations: 4 kB / 0.9809 GB, free: 25.77 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006482/0.2531, allocations: 397.2 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2531, allocations: 16.02 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.2532, allocations: 42.48 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.2532, allocations: 7.906 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.2533, allocations: 174.9 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.2534, allocations: 8 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.2534, allocations: 8 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.2537, allocations: 78.78 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2538, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.2538, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.2538, allocations: 3.984 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.2542, allocations: 67.91 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.2549, allocations: 320.7 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.2553, allocations: 94.45 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.2556, allocations: 32.83 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2556, allocations: 4 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2556, allocations: 38.56 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.2556, allocations: 0 / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002317/0.258, allocations: 0.6773 MB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.258, allocations: 51.41 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.2581, allocations: 105.8 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2581, allocations: 25.7 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2582, allocations: 88.05 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.2582, allocations: 43.44 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.2582, allocations: 4 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.2583, allocations: 310.8 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.2585, allocations: 43.97 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.2587, allocations: 35.92 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.259, allocations: 37.61 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.259, allocations: 0 / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005267/0.2595, allocations: 129.7 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2596, allocations: 7.953 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2596, allocations: 3.984 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2596, allocations: 0 / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2599, allocations: 27.98 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2599, allocations: 3.938 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.26, allocations: 16 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.26, allocations: 3.938 kB / 0.9837 GB, free: 22.59 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 (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.414e-05/0.2601, allocations: 121.8 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.2602, allocations: 4 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.2608, allocations: 137.5 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2608, allocations: 0 / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.2608, allocations: 4 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2608, allocations: 96 / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.2616, allocations: 390.4 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2616, allocations: 4 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.2619, allocations: 35.94 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.2619, allocations: 0 / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.262, allocations: 7.984 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.262, allocations: 3.984 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.262, allocations: 7.938 kB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.2628, allocations: 259.8 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.2628, allocations: 81.14 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.2628, allocations: 3.953 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.263, allocations: 12 kB / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.2631, allocations: 12.05 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2631, allocations: 4 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.2631, allocations: 87.44 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2632, allocations: 0 / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003516/0.2635, allocations: 36 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB 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.001088/0.2646, allocations: 0.8333 MB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.2652, allocations: 89.75 kB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2652, allocations: 0 / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.2654, allocations: 47.97 kB / 0.9858 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2658, allocations: 19.11 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.2677, allocations: 0.7493 MB / 0.9865 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2679, allocations: 0.6887 MB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.917e-05/0.268, allocations: 20.55 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.268, allocations: 23.42 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2681, allocations: 0 / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.2873, allocations: 2.061 MB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.2876, allocations: 232.5 kB / 0.9895 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.673, allocations: 2.922 kB / 0.9895 GB, free: 16.65 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)