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.753/2.753, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.001671/0.00167, allocations: 179.1 kB / 370.8 MB, free: 10.83 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.302/2.302, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001143/0.001143, allocations: 87.77 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005058, allocations: 12.42 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2442, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9512/1.195, allocations: 138.5 MB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.196, allocations: 79.27 kB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01416/1.21, allocations: 2.839 MB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.21, allocations: 0 / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.001e-05/1.21, allocations: 0 / 1.116 GB, free: 31.27 MB / 0.698 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.0004669/1.211, allocations: 348.2 kB / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.211, allocations: 15.64 kB / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/1.211, allocations: 38.19 kB / 1.117 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/1.211, allocations: 8.641 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/1.211, allocations: 165.7 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/1.211, allocations: 0 / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/1.211, allocations: 0 / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/1.211, allocations: 44.41 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.211, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/1.211, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.211, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/1.211, allocations: 18.92 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/1.211, allocations: 160.5 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/1.212, allocations: 47.03 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/1.212, allocations: 0 / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.212, allocations: 30.56 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/1.212, allocations: 0 / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007839/1.213, allocations: 317.4 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.213, allocations: 51.41 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/1.213, allocations: 88.88 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.213, allocations: 29.14 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/1.213, allocations: 80.14 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/1.213, allocations: 26.28 kB / 1.118 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/1.213, allocations: 0 / 1.118 GB, free: 29.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.213, allocations: 318.7 kB / 1.118 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/1.213, allocations: 14.19 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/1.213, allocations: 11.69 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/1.213, allocations: 14.67 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.213, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001494/1.213, allocations: 63.41 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.213, allocations: 9.875 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.213, allocations: 3.938 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.213, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/1.213, allocations: 11.56 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.213, allocations: 3.328 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/1.214, allocations: 8.062 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/1.214, allocations: 0 / 1.118 GB, free: 29.44 MB / 0.698 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 0.0001003/1.214, allocations: 117.4 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/1.214, allocations: 3.906 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/1.214, allocations: 74.02 kB / 1.118 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.214, allocations: 0 / 1.118 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.214, allocations: 3.938 kB / 1.118 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.214, allocations: 0.5156 kB / 1.118 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/1.214, allocations: 322.5 kB / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.214, allocations: 0 / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.214, allocations: 14.62 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.215, allocations: 3.906 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.215, allocations: 0 / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.215, allocations: 0 / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.215, allocations: 0 / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/1.215, allocations: 189.9 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/1.215, allocations: 96.05 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/1.215, allocations: 0 / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/1.215, allocations: 0 / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/1.215, allocations: 14.17 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/1.215, allocations: 0 / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.342e-05/1.215, allocations: 85.66 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.215, allocations: 0 / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003647/1.216, allocations: 27.28 kB / 1.119 GB, free: 28.61 MB / 0.698 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.000774/1.216, allocations: 0.8128 MB / 1.12 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001446/1.216, allocations: 38.72 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.217, allocations: 4 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/1.217, allocations: 18.12 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/1.217, allocations: 10.53 kB / 1.12 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.218, allocations: 0.4885 MB / 1.12 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/1.218, allocations: 0.684 MB / 1.121 GB, free: 26.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.756e-05/1.218, allocations: 12.03 kB / 1.121 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/1.218, allocations: 7.438 kB / 1.121 GB, free: 26.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.218, allocations: 3.875 kB / 1.121 GB, free: 26.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/1.239, allocations: 1.361 MB / 1.122 GB, free: 26.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/1.239, allocations: 227.9 kB / 1.123 GB, free: 26.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.746, allocations: 4 kB / 1.123 GB, free: 26.35 MB / 0.698 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)