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.7263/0.7263, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.001116/0.001116, allocations: 186.3 kB / 173.7 MB, free: 6.125 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.486/1.486, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009139/0.0009138, allocations: 86.92 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.000444, allocations: 12.06 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1813, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.3165, allocations: 103.3 MB / 0.7363 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.3168, allocations: 83.94 kB / 0.7364 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.008974/0.3257, allocations: 3.014 MB / 0.7393 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3258, allocations: 0 / 0.7393 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3258, allocations: 0 / 0.7393 GB, free: 3.895 MB / 0.5105 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.0003288/0.3261, allocations: 359.3 kB / 0.7397 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3262, allocations: 8.031 kB / 0.7397 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.3262, allocations: 38.52 kB / 0.7397 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.3263, allocations: 3.906 kB / 0.7397 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3264, allocations: 159.1 kB / 0.7399 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3264, allocations: 7.984 kB / 0.7399 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3264, allocations: 3.938 kB / 0.7399 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.3268, allocations: 77.59 kB / 0.74 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3268, allocations: 0 / 0.74 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3268, allocations: 0 / 0.74 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3268, allocations: 7.953 kB / 0.74 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.3271, allocations: 43.89 kB / 0.74 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.3272, allocations: 153.7 kB / 0.7402 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.3276, allocations: 78.52 kB / 0.7402 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.3279, allocations: 93.19 kB / 0.7403 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3279, allocations: 38.5 kB / 0.7404 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3279, allocations: 0 / 0.7404 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001763/0.3297, allocations: 478 kB / 0.7408 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3297, allocations: 67.34 kB / 0.7409 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.3298, allocations: 89 kB / 0.741 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3298, allocations: 25.7 kB / 0.741 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.3299, allocations: 80.14 kB / 0.7411 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3299, allocations: 19.72 kB / 0.7411 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3299, allocations: 0 / 0.7411 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.33, allocations: 322.8 kB / 0.7414 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3301, allocations: 27.98 kB / 0.7414 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.094e-05/0.3302, allocations: 23.98 kB / 0.7414 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3303, allocations: 31.98 kB / 0.7415 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3304, allocations: 0 / 0.7415 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002539/0.3306, allocations: 105.6 kB / 0.7416 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3306, allocations: 4 kB / 0.7416 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3307, allocations: 0 / 0.7416 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3307, allocations: 0 / 0.7416 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3308, allocations: 23.97 kB / 0.7416 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3309, allocations: 0 / 0.7416 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.331, allocations: 19.95 kB / 0.7416 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.331, allocations: 7.984 kB / 0.7416 GB, free: 1.262 MB / 0.5105 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 8.506e-05/0.3311, allocations: 105.8 kB / 0.7417 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.3311, allocations: 11.91 kB / 0.7417 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.3312, allocations: 3.969 kB / 0.7417 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3312, allocations: 0 / 0.7417 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3312, allocations: 0 / 0.7417 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3312, allocations: 3.938 kB / 0.7417 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.3319, allocations: 371.3 kB / 0.7421 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3319, allocations: 128 / 0.7421 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.332, allocations: 23.98 kB / 0.7421 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3321, allocations: 0 / 0.7421 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3321, allocations: 8.016 kB / 0.7421 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3321, allocations: 4 kB / 0.7421 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3321, allocations: 7.891 kB / 0.7421 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.3325, allocations: 238.1 kB / 0.7424 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.3326, allocations: 85 kB / 0.7424 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3326, allocations: 0 / 0.7424 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3328, allocations: 23.88 kB / 0.7425 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.3328, allocations: 4 kB / 0.7425 GB, free: 280 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3328, allocations: 3.984 kB / 0.7425 GB, free: 276 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.3329, allocations: 83.86 kB / 0.7426 GB, free: 192 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3329, allocations: 0 / 0.7426 GB, free: 192 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002298/0.3331, allocations: 23.94 kB / 0.7426 GB, free: 168 kB / 0.5105 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.2598/0.5929, allocations: 0.8467 MB / 0.7434 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.5933, allocations: 70.69 kB / 0.7435 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5933, allocations: 0 / 0.7435 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5934, allocations: 36.28 kB / 0.7435 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.5936, allocations: 2.781 kB / 0.7435 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.5948, allocations: 0.5776 MB / 0.7441 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.5949, allocations: 0.6832 MB / 0.7447 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.959e-05/0.595, allocations: 12.36 kB / 0.7448 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.5951, allocations: 15.2 kB / 0.7448 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/0.5951, allocations: 192 / 0.7448 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.6072, allocations: 1.412 MB / 0.7461 GB, free: 108 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.6074, allocations: 228.2 kB / 0.7464 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.126, allocations: 1.5 kB / 0.7464 GB, free: 107.7 MB / 0.5105 GB (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)