Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7127/0.7127, allocations: 127.4 MB / 134.9 MB, free: 3.773 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 184.8 kB / 164.7 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.2 MB / 399.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008946/0.0008946, allocations: 110.2 kB / 476.7 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.906e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 76.75 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5481/0.7031, allocations: 102.8 MB / 0.722 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.7034, allocations: 77.64 kB / 0.7221 GB, free: 12.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008692/0.7121, allocations: 2.999 MB / 0.725 GB, free: 10.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7121, allocations: 0 / 0.725 GB, free: 10.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.7121, allocations: 0 / 0.725 GB, free: 10.31 MB / 490.7 MB 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.0003236/0.7125, allocations: 338 kB / 0.7253 GB, free: 9.938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7125, allocations: 12.03 kB / 0.7253 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.7126, allocations: 8.828 kB / 0.7253 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.7127, allocations: 171 kB / 0.7255 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.7127, allocations: 4 kB / 0.7255 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.7127, allocations: 0.7812 kB / 0.7255 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.423e-05/0.7128, allocations: 15.06 kB / 0.7255 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.921e-05/0.7129, allocations: 37.62 kB / 0.7256 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7129, allocations: 0 / 0.7256 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.7129, allocations: 4.797 kB / 0.7256 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.7129, allocations: 0 / 0.7256 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.7131, allocations: 137.8 kB / 0.7257 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.7133, allocations: 40.61 kB / 0.7257 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.7133, allocations: 15.92 kB / 0.7257 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.7136, allocations: 97.17 kB / 0.7258 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.7136, allocations: 33.62 kB / 0.7259 GB, free: 9.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.7136, allocations: 8 kB / 0.7259 GB, free: 9.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001014/0.7146, allocations: 342.8 kB / 0.7262 GB, free: 8.898 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.7147, allocations: 55.34 kB / 0.7263 GB, free: 8.832 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.7147, allocations: 89 kB / 0.7263 GB, free: 8.738 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.7148, allocations: 25.7 kB / 0.7264 GB, free: 8.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.7148, allocations: 84.14 kB / 0.7264 GB, free: 8.621 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.7149, allocations: 22.98 kB / 0.7265 GB, free: 8.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.7149, allocations: 0 / 0.7265 GB, free: 8.602 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.715, allocations: 318.4 kB / 0.7268 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.7151, allocations: 15.12 kB / 0.7268 GB, free: 8.273 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.7151, allocations: 15.86 kB / 0.7268 GB, free: 8.262 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.7151, allocations: 14.75 kB / 0.7268 GB, free: 8.254 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7151, allocations: 4 kB / 0.7268 GB, free: 8.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001308/0.7153, allocations: 74.81 kB / 0.7269 GB, free: 8.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7153, allocations: 8 kB / 0.7269 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7153, allocations: 0 / 0.7269 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.7153, allocations: 0 / 0.7269 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.7155, allocations: 19.98 kB / 0.7269 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.7155, allocations: 0 / 0.7269 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.7156, allocations: 11.98 kB / 0.7269 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.7156, allocations: 0 / 0.7269 GB, free: 8.141 MB / 490.7 MB 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 8.271e-05/0.7157, allocations: 116.9 kB / 0.727 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001116/0.7158, allocations: 61.94 kB / 0.7271 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.7158, allocations: 7.906 kB / 0.7271 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.7159, allocations: 8.766 kB / 0.7271 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7159, allocations: 0 / 0.7271 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7159, allocations: 7.938 kB / 0.7271 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.7159, allocations: 7.938 kB / 0.7271 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.7163, allocations: 305.3 kB / 0.7274 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7163, allocations: 4.031 kB / 0.7274 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.7165, allocations: 19.98 kB / 0.7274 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7165, allocations: 0 / 0.7274 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.7165, allocations: 4 kB / 0.7274 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7165, allocations: 0 / 0.7274 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7165, allocations: 4.141 kB / 0.7275 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.7168, allocations: 208.9 kB / 0.7277 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.7168, allocations: 89.03 kB / 0.7277 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.7169, allocations: 0 / 0.7277 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.717, allocations: 15.94 kB / 0.7278 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.717, allocations: 0 / 0.7278 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.7171, allocations: 7.984 kB / 0.7278 GB, free: 7.242 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.7171, allocations: 78.91 kB / 0.7278 GB, free: 7.168 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7171, allocations: 4.062 kB / 0.7278 GB, free: 7.164 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.7173, allocations: 12 kB / 0.7279 GB, free: 7.152 MB / 490.7 MB 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.0005115/0.7179, allocations: 0.8128 MB / 0.7286 GB, free: 6.324 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.718, allocations: 43.05 kB / 0.7287 GB, free: 6.293 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.718, allocations: 0 / 0.7287 GB, free: 6.293 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.718, allocations: 23.5 kB / 0.7287 GB, free: 6.273 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.7182, allocations: 3.984 kB / 0.7287 GB, free: 6.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.7188, allocations: 210.2 kB / 0.7289 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.7191, allocations: 0.6807 MB / 0.7296 GB, free: 5.328 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.7192, allocations: 8 kB / 0.7296 GB, free: 5.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.7193, allocations: 19.11 kB / 0.7296 GB, free: 5.305 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7193, allocations: 0 / 0.7296 GB, free: 5.305 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.7386, allocations: 1.067 MB / 0.7306 GB, free: 4.273 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.7388, allocations: 194 kB / 0.7308 GB, free: 4.082 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.271, allocations: 2.391 kB / 0.7308 GB, free: 4.082 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)