Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 289.7 MB / 302.2 MB, free: 2.105 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.001073/0.001073, allocations: 178 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009618/0.0009621, allocations: 92.98 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.23e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9262/1.21, allocations: 139.6 MB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.21, allocations: 78.95 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00808/1.218, allocations: 2.828 MB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.924e-06/1.218, allocations: 0 / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.043e-05/1.218, allocations: 0 / 1.119 GB, free: 42.5 MB / 0.7448 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.0003555/1.219, allocations: 347 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/1.219, allocations: 8.031 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/1.219, allocations: 37.22 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/1.219, allocations: 8.375 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/1.219, allocations: 162.3 kB / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/1.219, allocations: 1.25 kB / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/1.219, allocations: 4.797 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/1.219, allocations: 40.89 kB / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.219, allocations: 4 kB / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.219, allocations: 0 / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.219, allocations: 0.8906 kB / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/1.219, allocations: 15.56 kB / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/1.22, allocations: 157.4 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/1.22, allocations: 44.92 kB / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/1.22, allocations: 21.67 kB / 1.12 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/1.22, allocations: 7.422 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.22, allocations: 30.56 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/1.22, allocations: 0 / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0006289/1.22, allocations: 299.9 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/1.221, allocations: 55.41 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/1.221, allocations: 88.94 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.221, allocations: 37.33 kB / 1.12 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/1.221, allocations: 84.12 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/1.221, allocations: 19.72 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/1.221, allocations: 4 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.149e-05/1.221, allocations: 314.8 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/1.221, allocations: 11.56 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/1.221, allocations: 7.625 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/1.221, allocations: 14.8 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/1.221, allocations: 0 / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001268/1.221, allocations: 67.81 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.221, allocations: 4 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.221, allocations: 4 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.221, allocations: 0 / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/1.221, allocations: 12.59 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.221, allocations: 3.469 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/1.221, allocations: 0.625 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/1.221, allocations: 4 kB / 1.121 GB, free: 40.49 MB / 0.7448 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 (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 5.78e-05/1.221, allocations: 109.9 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/1.221, allocations: 8 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/1.221, allocations: 72.03 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.221, allocations: 0.9375 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.221, allocations: 0 / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.221, allocations: 4 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/1.222, allocations: 317.7 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.222, allocations: 0.5625 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/1.222, allocations: 8.656 kB / 1.121 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.222, allocations: 8.031 kB / 1.121 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.222, allocations: 7.375 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.222, allocations: 4.438 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.222, allocations: 0.5469 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/1.222, allocations: 186.8 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/1.222, allocations: 84.83 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/1.222, allocations: 8.094 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/1.222, allocations: 0 / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/1.222, allocations: 4.516 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/1.222, allocations: 8.453 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.466e-05/1.222, allocations: 80.38 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.222, allocations: 0 / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002477/1.223, allocations: 28.34 kB / 1.122 GB, free: 39.55 MB / 0.7448 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 () * 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.0004556/1.223, allocations: 0.8239 MB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/1.223, allocations: 33.42 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.223, allocations: 0 / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/1.223, allocations: 16 kB / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.223, allocations: 8.828 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/1.224, allocations: 191.7 kB / 1.123 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.224, allocations: 0.6838 MB / 1.123 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.534e-05/1.224, allocations: 6.062 kB / 1.123 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/1.224, allocations: 14.56 kB / 1.123 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/1.224, allocations: 4 kB / 1.123 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/1.237, allocations: 1.357 MB / 1.125 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/1.237, allocations: 202.4 kB / 1.125 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.857, allocations: 0 / 1.125 GB, free: 36.84 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)