Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.777/1.777, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001378/0.001378, allocations: 176.9 kB / 371.6 MB, free: 3.34 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.657/1.657, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.0009652/0.0009651, allocations: 90.31 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/4.029e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2911, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8958/1.187, allocations: 140.4 MB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/1.187, allocations: 81.8 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01092/1.198, allocations: 4.268 MB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.91e-07/1.198, allocations: 0 / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.198, allocations: 0 / 1.121 GB, free: 41.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000398/1.199, allocations: 370.1 kB / 1.122 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.199, allocations: 12.03 kB / 1.122 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/1.199, allocations: 34.62 kB / 1.122 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/1.199, allocations: 8.062 kB / 1.122 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/1.199, allocations: 180 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/1.199, allocations: 3 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/1.199, allocations: 11.91 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/1.199, allocations: 63.67 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.199, allocations: 3.906 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.199, allocations: 3.438 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/1.199, allocations: 0 / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/1.199, allocations: 34.27 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/1.2, allocations: 337.8 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/1.2, allocations: 59.91 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/1.2, allocations: 21.61 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/1.2, allocations: 7.938 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/1.2, allocations: 34.06 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/1.2, allocations: 0 / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0008687/1.201, allocations: 0.5684 MB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.201, allocations: 56.19 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.179e-05/1.201, allocations: 99.83 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/1.201, allocations: 25.7 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/1.201, allocations: 87.7 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/1.201, allocations: 37.7 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/1.201, allocations: 0 / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.487e-05/1.201, allocations: 325.3 kB / 1.124 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/1.201, allocations: 18.5 kB / 1.124 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/1.201, allocations: 22.25 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/1.201, allocations: 26.81 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.201, allocations: 4 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001304/1.201, allocations: 105.2 kB / 1.124 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.201, allocations: 4 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.201, allocations: 5.078 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.201, allocations: 0 / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/1.201, allocations: 27.28 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.201, allocations: 1.016 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/1.202, allocations: 10.2 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.202, allocations: 8 kB / 1.124 GB, free: 38.52 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 (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 4.611e-05/1.202, allocations: 111.9 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/1.202, allocations: 3.906 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/1.202, allocations: 112.6 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.202, allocations: 7.953 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.202, allocations: 0 / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.202, allocations: 0 / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/1.202, allocations: 367.8 kB / 1.124 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.202, allocations: 0 / 1.124 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/1.202, allocations: 30.61 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.202, allocations: 5.031 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.202, allocations: 7.25 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.202, allocations: 0 / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.202, allocations: 0 / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/1.203, allocations: 227.9 kB / 1.125 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/1.203, allocations: 80.44 kB / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/1.203, allocations: 5.391 kB / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.203, allocations: 11.91 kB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/1.203, allocations: 7.516 kB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/1.203, allocations: 4 kB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.254e-05/1.203, allocations: 83.64 kB / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.203, allocations: 0 / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000225/1.203, allocations: 46.81 kB / 1.125 GB, free: 37.49 MB / 0.7448 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.0004255/1.203, allocations: 0.8021 MB / 1.126 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001409/1.204, allocations: 60.38 kB / 1.126 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.204, allocations: 3.938 kB / 1.126 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/1.204, allocations: 43.52 kB / 1.126 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/1.204, allocations: 12.77 kB / 1.126 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/1.204, allocations: 286.5 kB / 1.126 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/1.205, allocations: 0.7024 MB / 1.127 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.824e-05/1.205, allocations: 14.25 kB / 1.127 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/1.205, allocations: 25.31 kB / 1.127 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.205, allocations: 0 / 1.127 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/1.217, allocations: 2.004 MB / 1.129 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/1.217, allocations: 197.9 kB / 1.129 GB, free: 34.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.876, allocations: 0 / 1.129 GB, free: 34.31 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)