Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000961/0.0009611, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5384/0.5384, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 101.7 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.444e-05, allocations: 0 / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3775, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.5018, allocations: 102.3 MB / 0.6602 GB, free: 2.035 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.502, allocations: 87.92 kB / 0.6603 GB, free: 1.949 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.5137, allocations: 4.053 MB / 0.6642 GB, free: 13.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5137, allocations: 0 / 0.6642 GB, free: 13.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.5137, allocations: 0 / 0.6642 GB, free: 13.91 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.0002834/0.514, allocations: 338.5 kB / 0.6646 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5141, allocations: 19.97 kB / 0.6646 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.5141, allocations: 38.56 kB / 0.6646 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.5141, allocations: 3.906 kB / 0.6646 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5142, allocations: 171 kB / 0.6648 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5143, allocations: 0 / 0.6648 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.5143, allocations: 0 / 0.6648 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.633e-05/0.5144, allocations: 45.69 kB / 0.6648 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.5144, allocations: 1.312 kB / 0.6648 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5144, allocations: 3.953 kB / 0.6648 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5144, allocations: 0 / 0.6648 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.637e-05/0.5145, allocations: 12 kB / 0.6648 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.5146, allocations: 161.6 kB / 0.665 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.5148, allocations: 46.55 kB / 0.665 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.5148, allocations: 20.86 kB / 0.6651 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5149, allocations: 0 / 0.6651 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.5149, allocations: 34.56 kB / 0.6651 GB, free: 12.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.5149, allocations: 0 / 0.6651 GB, free: 12.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000518/0.5154, allocations: 301.5 kB / 0.6654 GB, free: 12.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.5155, allocations: 51.41 kB / 0.6654 GB, free: 12.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.5155, allocations: 93 kB / 0.6655 GB, free: 12.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.5155, allocations: 25.7 kB / 0.6655 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.5156, allocations: 85.36 kB / 0.6656 GB, free: 12.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.5156, allocations: 23.64 kB / 0.6657 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5156, allocations: 0 / 0.6657 GB, free: 12.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.5157, allocations: 314.8 kB / 0.666 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.5158, allocations: 12 kB / 0.666 GB, free: 11.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.5158, allocations: 11.94 kB / 0.666 GB, free: 11.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.5158, allocations: 19.92 kB / 0.666 GB, free: 11.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.5158, allocations: 4 kB / 0.666 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.988e-05/0.5159, allocations: 61.69 kB / 0.6661 GB, free: 11.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5159, allocations: 7.984 kB / 0.6661 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5159, allocations: 0 / 0.6661 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.516, allocations: 384 / 0.6661 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.516, allocations: 12 kB / 0.6661 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.516, allocations: 6.578 kB / 0.6661 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.5161, allocations: 0 / 0.6661 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5161, allocations: 0 / 0.6661 GB, free: 11.77 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 5.636e-05/0.5161, allocations: 116.9 kB / 0.6662 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.5161, allocations: 3.906 kB / 0.6662 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.5163, allocations: 77.75 kB / 0.6663 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5163, allocations: 0 / 0.6663 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5163, allocations: 4.125 kB / 0.6663 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5163, allocations: 3.953 kB / 0.6663 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.5166, allocations: 307.4 kB / 0.6666 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5166, allocations: 4 kB / 0.6666 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.5167, allocations: 16.02 kB / 0.6666 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5167, allocations: 0 / 0.6666 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5167, allocations: 4 kB / 0.6666 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5167, allocations: 3.953 kB / 0.6666 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5167, allocations: 0 / 0.6666 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.5169, allocations: 190 kB / 0.6668 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.5169, allocations: 85.16 kB / 0.6669 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.5169, allocations: 7.953 kB / 0.6669 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.517, allocations: 0 / 0.6669 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.517, allocations: 4 kB / 0.6669 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.517, allocations: 7.984 kB / 0.6669 GB, free: 10.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.5171, allocations: 79.28 kB / 0.667 GB, free: 10.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5171, allocations: 0 / 0.667 GB, free: 10.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.5173, allocations: 24 kB / 0.667 GB, free: 10.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0005008/0.5178, allocations: 0.8261 MB / 0.6678 GB, free: 9.871 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.5179, allocations: 31.94 kB / 0.6678 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5179, allocations: 3.938 kB / 0.6678 GB, free: 9.836 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/0.518, allocations: 16.84 kB / 0.6678 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.5181, allocations: 10.19 kB / 0.6678 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.5185, allocations: 195.7 kB / 0.668 GB, free: 9.582 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5188, allocations: 0.6848 MB / 0.6687 GB, free: 8.871 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.5188, allocations: 4 kB / 0.6687 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.5189, allocations: 19.42 kB / 0.6687 GB, free: 8.848 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5189, allocations: 0 / 0.6687 GB, free: 8.848 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.5306, allocations: 1.349 MB / 0.67 GB, free: 7.703 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.5308, allocations: 187.5 kB / 0.6702 GB, free: 7.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/1.95, allocations: 6.031 kB / 0.6702 GB, free: 7.477 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)