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_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.574/2.574, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001587/0.001587, allocations: 180 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.075/2.075, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001159/0.001159, allocations: 108 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007267/0.0007273, allocations: 11.34 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.28, 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_m_flow_DerivativeCheck): time 0.001359/0.2815, allocations: 0.99 MB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.2822, allocations: 319.2 kB / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.371e-05/0.2822, allocations: 0 / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.2823, allocations: 3.984 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.2823, allocations: 0 / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.2828, allocations: 63.78 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.2828, allocations: 23.91 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.2829, allocations: 0 / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.2829, allocations: 4 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.283, allocations: 15.91 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.283, allocations: 4 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.2834, allocations: 167.8 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.2834, allocations: 15.91 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.2834, allocations: 29.7 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.2836, allocations: 56.11 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2836, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2836, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2836, allocations: 0 / 0.9799 GB, free: 26.61 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.0003414/0.284, allocations: 339.3 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.284, allocations: 12.02 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.2841, allocations: 38.56 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2841, allocations: 4 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.2842, allocations: 167 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2843, allocations: 3.938 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.2843, allocations: 4 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2844, allocations: 45.62 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2844, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2845, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2845, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.2845, allocations: 15.98 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2847, allocations: 161.6 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.2849, allocations: 42.61 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.285, allocations: 0 / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.285, allocations: 38.5 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.285, allocations: 0 / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0007098/0.2857, allocations: 315.3 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2858, allocations: 55.41 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.2859, allocations: 93.86 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2859, allocations: 29.7 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.2859, allocations: 80.14 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.286, allocations: 19.7 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.286, allocations: 4 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.2861, allocations: 318.8 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.2861, allocations: 8 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.2862, allocations: 15.98 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.2862, allocations: 12 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2862, allocations: 0 / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001602/0.2864, allocations: 81.45 kB / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2864, allocations: 4 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2865, allocations: 0 / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.2865, allocations: 0 / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2866, allocations: 8 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2867, allocations: 4 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.2867, allocations: 4 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.2867, allocations: 64 / 0.9818 GB, free: 24.45 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 8.082e-05/0.2868, allocations: 121.8 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.2869, allocations: 4 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.2871, allocations: 77.47 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2871, allocations: 4 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2871, allocations: 0 / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2871, allocations: 0 / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.2875, allocations: 319.4 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2875, allocations: 0 / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2876, allocations: 16 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2877, allocations: 0 / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.2877, allocations: 0 / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2877, allocations: 0 / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2877, allocations: 4 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.2879, allocations: 197.9 kB / 0.9825 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.288, allocations: 77.11 kB / 0.9825 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.288, allocations: 8.016 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2881, allocations: 4 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.2881, allocations: 4 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.2882, allocations: 0 / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.2882, allocations: 83.23 kB / 0.9826 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2882, allocations: 64 / 0.9826 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003618/0.2886, allocations: 31.98 kB / 0.9827 GB, free: 23.41 MB / 0.6198 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.0005243/0.2891, allocations: 0.8034 MB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.2893, allocations: 40.11 kB / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2893, allocations: 0 / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.2893, allocations: 23.92 kB / 0.9835 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.2896, allocations: 11.83 kB / 0.9835 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2907, allocations: 484.1 kB / 0.984 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2909, allocations: 0.6849 MB / 0.9847 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.2909, allocations: 11.98 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.291, allocations: 15.44 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.291, allocations: 0 / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.315, allocations: 1.392 MB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/0.3153, allocations: 228.5 kB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.631, allocations: 4 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)