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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.748/1.748, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001558/0.001558, allocations: 71.34 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002892/0.2471, allocations: 1.275 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2482, allocations: 0.6071 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.2483, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.2483, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.2484, allocations: 3.938 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.249, allocations: 143.4 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.2491, allocations: 23.88 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.2491, allocations: 3.984 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.2492, allocations: 7.984 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.2492, allocations: 11.94 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2492, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/0.2498, allocations: 351.3 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2498, allocations: 3.938 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.2498, allocations: 11.92 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2501, allocations: 140 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2501, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.866e-06/0.2501, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2501, allocations: 7.938 kB / 0.786 GB, free: 10.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004207/0.2505, allocations: 371.3 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2506, allocations: 8.031 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.2506, allocations: 34.75 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.2507, allocations: 4.938 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2508, allocations: 164.4 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2508, allocations: 384 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.2508, allocations: 4.375 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2509, allocations: 38.25 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.251, allocations: 3.938 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.251, allocations: 0 / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.251, allocations: 4 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.251, allocations: 15.92 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2512, allocations: 157.7 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2514, allocations: 46.56 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.2514, allocations: 16.86 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.2515, allocations: 0 / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.2515, allocations: 30.56 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2515, allocations: 0 / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006124/0.2521, allocations: 330.2 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.2522, allocations: 55.41 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.2523, allocations: 93.86 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2523, allocations: 25.7 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.2524, allocations: 88.12 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.2524, allocations: 19.66 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.2524, allocations: 17.72 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2526, allocations: 322.8 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.2526, allocations: 12 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.2526, allocations: 8 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.2527, allocations: 32.84 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.2527, allocations: 0 / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.2528, allocations: 77.69 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2528, allocations: 4 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2528, allocations: 4 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2529, allocations: 0 / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.2529, allocations: 15.94 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2529, allocations: 0 / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.253, allocations: 4 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.253, allocations: 4 kB / 0.7879 GB, free: 8.547 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.253, allocations: 106.9 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.2531, allocations: 7.938 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.2532, allocations: 81.52 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2532, allocations: 0 / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2532, allocations: 4 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2532, allocations: 4 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.2536, allocations: 311.4 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2536, allocations: 3.984 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.2536, allocations: 8 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2537, allocations: 4 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2537, allocations: 192 / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2537, allocations: 4 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2537, allocations: 0 / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2539, allocations: 188.3 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.2539, allocations: 81.11 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.254, allocations: 7.969 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.254, allocations: 3.984 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.254, allocations: 4 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2541, allocations: 0 / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.2541, allocations: 87.34 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.322e-06/0.2541, allocations: 0 / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002384/0.2543, allocations: 23.94 kB / 0.7888 GB, free: 7.52 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004848/0.2548, allocations: 0.7299 MB / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.255, allocations: 43.98 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.255, allocations: 0 / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.255, allocations: 23.92 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.2552, allocations: 7.984 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2564, allocations: 1.32 MB / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2567, allocations: 0.6845 MB / 0.7916 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.2567, allocations: 4 kB / 0.7916 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.2567, allocations: 19.42 kB / 0.7916 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2567, allocations: 0 / 0.7916 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.283, allocations: 1.573 MB / 0.7931 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.342, allocations: 10.48 kB / 0.7931 GB, free: 3.125 MB / 0.6075 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/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)