Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7575/0.7575, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001246/0.001246, allocations: 188.2 kB / 173.7 MB, free: 6.133 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.809/1.809, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009686/0.0009685, allocations: 94.03 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003762, allocations: 12.06 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1858, allocations: 76.76 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.3282, allocations: 103.4 MB / 0.7364 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.3285, allocations: 83.95 kB / 0.7365 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.3408, allocations: 4.297 MB / 0.7407 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3409, allocations: 0 / 0.7407 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3409, allocations: 4 kB / 0.7407 GB, free: 2.488 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.0003707/0.3413, allocations: 355.3 kB / 0.741 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3413, allocations: 8.031 kB / 0.741 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.3414, allocations: 42.45 kB / 0.7411 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.3414, allocations: 7.906 kB / 0.7411 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3416, allocations: 163.1 kB / 0.7413 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3416, allocations: 3.938 kB / 0.7413 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3416, allocations: 8 kB / 0.7413 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.3421, allocations: 89.62 kB / 0.7413 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3421, allocations: 0 / 0.7413 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3421, allocations: 0 / 0.7413 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3421, allocations: 11.94 kB / 0.7414 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.3425, allocations: 59.94 kB / 0.7414 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.3427, allocations: 153.7 kB / 0.7416 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.3432, allocations: 98.48 kB / 0.7417 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.3434, allocations: 93.19 kB / 0.7417 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3434, allocations: 34.56 kB / 0.7418 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3434, allocations: 0 / 0.7418 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.002391/0.3458, allocations: 0.5995 MB / 0.7424 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3459, allocations: 67.28 kB / 0.7424 GB, free: 476 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.346, allocations: 89 kB / 0.7425 GB, free: 380 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.346, allocations: 29.7 kB / 0.7425 GB, free: 344 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.3461, allocations: 80.14 kB / 0.7426 GB, free: 260 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3461, allocations: 19.7 kB / 0.7426 GB, free: 240 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.3461, allocations: 4 kB / 0.7426 GB, free: 236 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.406/0.7521, allocations: 314.7 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.7525, allocations: 39.2 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.7527, allocations: 40.83 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.7529, allocations: 47.31 kB / 0.7431 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7529, allocations: 0 / 0.7431 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004612/0.7534, allocations: 127.4 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7534, allocations: 5 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7534, allocations: 0.7188 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.7535, allocations: 0.7188 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.7537, allocations: 32.3 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.7537, allocations: 2.438 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.7538, allocations: 22.23 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.7539, allocations: 1.938 kB / 0.7432 GB, free: 109.8 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.8e-05/0.754, allocations: 111.8 kB / 0.7434 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.754, allocations: 6.719 kB / 0.7434 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.754, allocations: 16.69 kB / 0.7434 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.754, allocations: 0 / 0.7434 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7541, allocations: 0 / 0.7434 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7541, allocations: 5.453 kB / 0.7434 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008028/0.7549, allocations: 395.1 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7549, allocations: 1.406 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.7551, allocations: 37.98 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7551, allocations: 0 / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.7551, allocations: 1.875 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7551, allocations: 5.953 kB / 0.7438 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7551, allocations: 1.594 kB / 0.7438 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.7558, allocations: 285.2 kB / 0.7441 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.7558, allocations: 83.59 kB / 0.7442 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.7559, allocations: 15.59 kB / 0.7442 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.756, allocations: 16.12 kB / 0.7442 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.7561, allocations: 10.25 kB / 0.7442 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7561, allocations: 3.844 kB / 0.7442 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.692e-05/0.7561, allocations: 79.19 kB / 0.7443 GB, free: 109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7561, allocations: 3.5 kB / 0.7443 GB, free: 109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002313/0.7564, allocations: 18.41 kB / 0.7443 GB, free: 109 MB / 0.5105 GB 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 () * 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.000825/0.7572, allocations: 0.9064 MB / 0.7452 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.7576, allocations: 95.11 kB / 0.7453 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7576, allocations: 0 / 0.7453 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.7578, allocations: 50.59 kB / 0.7453 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.7579, allocations: 6.5 kB / 0.7453 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.7595, allocations: 0.6666 MB / 0.746 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.7597, allocations: 0.6897 MB / 0.7467 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.418e-05/0.7598, allocations: 12.38 kB / 0.7467 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.7598, allocations: 13.7 kB / 0.7467 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.7598, allocations: 1.25 kB / 0.7467 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.7738, allocations: 1.494 MB / 0.7481 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.774, allocations: 228.8 kB / 0.7484 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.463, allocations: 320 / 0.7484 GB, free: 106.8 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)