Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.209/4.209, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.23e-05, allocations: 3.125 kB / 0.5325 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2408, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.4898, allocations: 125.3 MB / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.4902, allocations: 87.94 kB / 0.7514 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0231/0.5133, allocations: 4.239 MB / 0.7555 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5133, allocations: 0 / 0.7555 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.5134, allocations: 0 / 0.7555 GB, free: 7.273 MB / 0.6355 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.0006856/0.5141, allocations: 370.3 kB / 0.7559 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.5141, allocations: 12.03 kB / 0.7559 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.5142, allocations: 19.84 kB / 0.7559 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.5144, allocations: 167 kB / 0.7561 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.5144, allocations: 4 kB / 0.7561 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.5145, allocations: 4 kB / 0.7561 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001325/0.5146, allocations: 27.98 kB / 0.7561 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.5148, allocations: 69.67 kB / 0.7562 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5148, allocations: 0 / 0.7562 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.5148, allocations: 0 / 0.7562 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5149, allocations: 7.891 kB / 0.7562 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.5157, allocations: 301.2 kB / 0.7565 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.5159, allocations: 50.58 kB / 0.7565 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.5159, allocations: 17.02 kB / 0.7565 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.516, allocations: 11.97 kB / 0.7566 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.516, allocations: 38.52 kB / 0.7566 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.866e-06/0.516, allocations: 3.938 kB / 0.7566 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001267/0.5173, allocations: 0.5166 MB / 0.7571 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.5174, allocations: 55.41 kB / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5175, allocations: 92.98 kB / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5176, allocations: 25.7 kB / 0.7573 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.5176, allocations: 88.05 kB / 0.7573 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.5177, allocations: 39.45 kB / 0.7574 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.5177, allocations: 4 kB / 0.7574 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5179, allocations: 318.8 kB / 0.7577 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.5179, allocations: 19.94 kB / 0.7577 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.518, allocations: 20 kB / 0.7577 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.457e-05/0.5181, allocations: 20.23 kB / 0.7578 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5181, allocations: 0 / 0.7578 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002551/0.5184, allocations: 97.72 kB / 0.7578 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5184, allocations: 7.953 kB / 0.7579 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5184, allocations: 4 kB / 0.7579 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5185, allocations: 4 kB / 0.7579 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.5188, allocations: 27.97 kB / 0.7579 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5188, allocations: 4 kB / 0.7579 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.5189, allocations: 4 kB / 0.7579 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.519, allocations: 7.938 kB / 0.7579 GB, free: 4.566 MB / 0.6355 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 () * 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 0.0001071/0.5191, allocations: 101 kB / 0.758 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002482/0.5193, allocations: 85.61 kB / 0.7581 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.5194, allocations: 15.86 kB / 0.7581 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.5197, allocations: 102.2 kB / 0.7582 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5197, allocations: 0 / 0.7582 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5197, allocations: 0 / 0.7582 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.5198, allocations: 192 / 0.7582 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.5203, allocations: 339.1 kB / 0.7585 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5204, allocations: 4 kB / 0.7585 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.5207, allocations: 35.91 kB / 0.7586 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.5207, allocations: 8 kB / 0.7586 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.5208, allocations: 0 / 0.7586 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5208, allocations: 0 / 0.7586 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5208, allocations: 0 / 0.7586 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.5212, allocations: 215.3 kB / 0.7588 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.5213, allocations: 81.02 kB / 0.7588 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.5213, allocations: 3.984 kB / 0.7588 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.5216, allocations: 12.09 kB / 0.7589 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.5216, allocations: 7.984 kB / 0.7589 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.5217, allocations: 8 kB / 0.7589 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.5217, allocations: 75.28 kB / 0.7589 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5217, allocations: 0 / 0.7589 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004509/0.5222, allocations: 43.92 kB / 0.759 GB, free: 3.355 MB / 0.6355 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 () * 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.0009954/0.5232, allocations: 0.7903 MB / 0.7598 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.5235, allocations: 63.92 kB / 0.7598 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.5235, allocations: 0 / 0.7598 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.915e-05/0.5236, allocations: 28 kB / 0.7598 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5239, allocations: 8.797 kB / 0.7599 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.525, allocations: 294.3 kB / 0.7601 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.5254, allocations: 0.6924 MB / 0.7608 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.5256, allocations: 20.59 kB / 0.7608 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.5256, allocations: 19.44 kB / 0.7609 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.5257, allocations: 0 / 0.7609 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.5627, allocations: 1.677 MB / 0.7625 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/0.5632, allocations: 199 kB / 0.7627 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.931, allocations: 0 / 0.7627 GB, free: 15.49 MB / 0.6511 GB