Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.6676/0.6676, allocations: 127.4 MB / 134.9 MB, free: 3.715 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.0009941/0.0009941, allocations: 192.8 kB / 164.7 MB, free: 6.516 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.518/1.518, allocations: 205.2 MB / 399.5 MB, free: 5.926 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.0008212/0.0008212, allocations: 90.11 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.894e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 76.75 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5365/0.6872, allocations: 103.7 MB / 0.7229 GB, free: 11.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.6875, allocations: 85.31 kB / 0.7229 GB, free: 11.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.7009, allocations: 4.552 MB / 0.7274 GB, free: 8.102 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.701, allocations: 3.938 kB / 0.7274 GB, free: 8.098 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.701, allocations: 4 kB / 0.7274 GB, free: 8.094 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005277/0.7015, allocations: 373.7 kB / 0.7278 GB, free: 7.688 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7016, allocations: 8.031 kB / 0.7278 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.7016, allocations: 12.64 kB / 0.7278 GB, free: 7.668 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.7018, allocations: 167 kB / 0.7279 GB, free: 7.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.7018, allocations: 3.438 kB / 0.7279 GB, free: 7.465 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.7018, allocations: 4 kB / 0.7279 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.925e-05/0.702, allocations: 30.42 kB / 0.728 GB, free: 7.438 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.7021, allocations: 59.25 kB / 0.728 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7021, allocations: 0 / 0.728 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.7021, allocations: 7.984 kB / 0.728 GB, free: 7.375 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7022, allocations: 3.953 kB / 0.728 GB, free: 7.371 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.7027, allocations: 296 kB / 0.7283 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.7028, allocations: 60.44 kB / 0.7284 GB, free: 7.004 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.7029, allocations: 20.03 kB / 0.7284 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.7031, allocations: 93.09 kB / 0.7285 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.7031, allocations: 45.81 kB / 0.7285 GB, free: 6.824 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.7032, allocations: 0 / 0.7285 GB, free: 6.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.00298/0.7061, allocations: 0.7659 MB / 0.7293 GB, free: 6.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.7062, allocations: 52.25 kB / 0.7293 GB, free: 5.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.7063, allocations: 96.3 kB / 0.7294 GB, free: 5.859 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.7063, allocations: 25.7 kB / 0.7294 GB, free: 5.828 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.7064, allocations: 91.48 kB / 0.7295 GB, free: 5.738 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.7064, allocations: 34.95 kB / 0.7296 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/0.7064, allocations: 0 / 0.7296 GB, free: 5.707 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7066, allocations: 322.1 kB / 0.7299 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.7066, allocations: 30.62 kB / 0.7299 GB, free: 5.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.7067, allocations: 25.75 kB / 0.7299 GB, free: 5.352 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.7068, allocations: 29.45 kB / 0.7299 GB, free: 5.332 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7068, allocations: 3.938 kB / 0.73 GB, free: 5.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000186/0.707, allocations: 122.5 kB / 0.7301 GB, free: 5.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.707, allocations: 4 kB / 0.7301 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.707, allocations: 0 / 0.7301 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.707, allocations: 0 / 0.7301 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.7073, allocations: 47.22 kB / 0.7301 GB, free: 5.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7074, allocations: 3.984 kB / 0.7301 GB, free: 5.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.7076, allocations: 19.98 kB / 0.7301 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.7076, allocations: 4 kB / 0.7301 GB, free: 5.148 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 (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 8.702e-05/0.7077, allocations: 111.7 kB / 0.7303 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001881/0.7079, allocations: 113.1 kB / 0.7304 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.7079, allocations: 4 kB / 0.7304 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.708, allocations: 7.281 kB / 0.7304 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.708, allocations: 0 / 0.7304 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.708, allocations: 0 / 0.7304 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.708, allocations: 4 kB / 0.7304 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.7084, allocations: 369.6 kB / 0.7307 GB, free: 4.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7085, allocations: 0 / 0.7307 GB, free: 4.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.7088, allocations: 47.95 kB / 0.7308 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7088, allocations: 0 / 0.7308 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.7088, allocations: 3.188 kB / 0.7308 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7088, allocations: 4 kB / 0.7308 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7088, allocations: 0 / 0.7308 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.7092, allocations: 257.4 kB / 0.731 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.7092, allocations: 85.08 kB / 0.7311 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.7093, allocations: 4.031 kB / 0.7311 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.7095, allocations: 19.98 kB / 0.7311 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.7096, allocations: 7.359 kB / 0.7311 GB, free: 4.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.7096, allocations: 7.984 kB / 0.7311 GB, free: 4.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.7096, allocations: 79.28 kB / 0.7312 GB, free: 4.062 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7096, allocations: 0 / 0.7312 GB, free: 4.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.7099, allocations: 20 kB / 0.7312 GB, free: 4.043 MB / 490.7 MB 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.0006176/0.7105, allocations: 0.8025 MB / 0.732 GB, free: 3.254 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.7107, allocations: 77.42 kB / 0.7321 GB, free: 3.199 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7107, allocations: 0 / 0.7321 GB, free: 3.199 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.7108, allocations: 45.36 kB / 0.7321 GB, free: 3.168 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.711, allocations: 8.062 kB / 0.7321 GB, free: 3.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.7121, allocations: 366.3 kB / 0.7325 GB, free: 2.781 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.7124, allocations: 0.6962 MB / 0.7332 GB, free: 2.059 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.7125, allocations: 20.66 kB / 0.7332 GB, free: 2.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.7126, allocations: 24.48 kB / 0.7332 GB, free: 2.023 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7126, allocations: 4 kB / 0.7332 GB, free: 2.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.732, allocations: 1.612 MB / 0.7348 GB, free: 456 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.7323, allocations: 199.5 kB / 0.735 GB, free: 236 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.348, allocations: 0 / 0.735 GB, free: 236 kB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)