Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.7292/0.7292, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 172.8 kB / 169.7 MB, free: 1.738 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.504/1.504, allocations: 205.1 MB / 404.5 MB, free: 1.672 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.001051/0.001051, allocations: 91.67 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.797e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1523, allocations: 76.75 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4954/0.6477, allocations: 103.5 MB / 0.7293 GB, free: 9.914 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.648, allocations: 91.11 kB / 0.7294 GB, free: 9.859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01353/0.6616, allocations: 4.85 MB / 0.7341 GB, free: 5.781 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6616, allocations: 0 / 0.7341 GB, free: 5.781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.6616, allocations: 0 / 0.7341 GB, free: 5.781 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003069/0.6619, allocations: 350.4 kB / 0.7345 GB, free: 5.398 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.662, allocations: 8.031 kB / 0.7345 GB, free: 5.391 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.662, allocations: 37.48 kB / 0.7345 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.6621, allocations: 7.953 kB / 0.7345 GB, free: 5.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.6622, allocations: 163.8 kB / 0.7347 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.6622, allocations: 4 kB / 0.7347 GB, free: 5.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.6622, allocations: 7.844 kB / 0.7347 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.6626, allocations: 88.2 kB / 0.7348 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6627, allocations: 0 / 0.7348 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6627, allocations: 3.938 kB / 0.7348 GB, free: 5.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.6627, allocations: 3.953 kB / 0.7348 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.663, allocations: 54.64 kB / 0.7348 GB, free: 4.992 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.6632, allocations: 165.3 kB / 0.735 GB, free: 4.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.6635, allocations: 93.12 kB / 0.7351 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.6636, allocations: 28.03 kB / 0.7351 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.6638, allocations: 105 kB / 0.7352 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6638, allocations: 38.48 kB / 0.7353 GB, free: 4.512 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.6638, allocations: 0 / 0.7353 GB, free: 4.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.003856/0.6677, allocations: 0.9964 MB / 0.7362 GB, free: 3.488 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.6677, allocations: 55.34 kB / 0.7363 GB, free: 3.422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.6678, allocations: 92.98 kB / 0.7364 GB, free: 3.324 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.6678, allocations: 28.89 kB / 0.7364 GB, free: 3.293 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.6679, allocations: 84.27 kB / 0.7365 GB, free: 3.207 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.6679, allocations: 42.28 kB / 0.7365 GB, free: 3.172 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.668, allocations: 3.938 kB / 0.7365 GB, free: 3.168 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6681, allocations: 317.9 kB / 0.7368 GB, free: 2.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.6682, allocations: 30.38 kB / 0.7368 GB, free: 2.832 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.6683, allocations: 30.55 kB / 0.7369 GB, free: 2.812 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.6684, allocations: 31.11 kB / 0.7369 GB, free: 2.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.6684, allocations: 0 / 0.7369 GB, free: 2.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002198/0.6686, allocations: 115 kB / 0.737 GB, free: 2.691 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6686, allocations: 8 kB / 0.737 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6686, allocations: 0 / 0.737 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6686, allocations: 4 kB / 0.737 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.669, allocations: 59.12 kB / 0.7371 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.669, allocations: 4.5 kB / 0.7371 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.6692, allocations: 31.97 kB / 0.7371 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.6693, allocations: 11.88 kB / 0.7371 GB, free: 2.582 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.993e-05/0.6694, allocations: 105 kB / 0.7372 GB, free: 2.473 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.6694, allocations: 3.938 kB / 0.7372 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.6694, allocations: 11.16 kB / 0.7372 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6694, allocations: 4 kB / 0.7373 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6695, allocations: 0 / 0.7373 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6695, allocations: 3.953 kB / 0.7373 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.67, allocations: 388.1 kB / 0.7376 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.67, allocations: 4 kB / 0.7376 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.6704, allocations: 51.83 kB / 0.7377 GB, free: 2.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6704, allocations: 0 / 0.7377 GB, free: 2.008 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.6704, allocations: 3.953 kB / 0.7377 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6704, allocations: 4 kB / 0.7377 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6704, allocations: 0 / 0.7377 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.6708, allocations: 257 kB / 0.7379 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.6708, allocations: 85.05 kB / 0.738 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.6709, allocations: 0 / 0.738 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.6711, allocations: 34.17 kB / 0.738 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.6712, allocations: 12.05 kB / 0.7381 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.6712, allocations: 7.5 kB / 0.7381 GB, free: 1.625 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.6712, allocations: 75.28 kB / 0.7381 GB, free: 1.551 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6713, allocations: 4 kB / 0.7381 GB, free: 1.547 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.6715, allocations: 22.62 kB / 0.7382 GB, free: 1.527 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0006309/0.6721, allocations: 0.8027 MB / 0.7389 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.6723, allocations: 81.41 kB / 0.739 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6723, allocations: 0 / 0.739 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.6724, allocations: 50.67 kB / 0.7391 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.6726, allocations: 9.781 kB / 0.7391 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.674, allocations: 437.2 kB / 0.7395 GB, free: 192 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.6742, allocations: 0.6887 MB / 0.7402 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.6744, allocations: 16 kB / 0.7402 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.6745, allocations: 23.33 kB / 0.7402 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.6745, allocations: 0 / 0.7402 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.686, allocations: 1.859 MB / 0.742 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.6862, allocations: 204.4 kB / 0.7422 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.173, allocations: 3.094 kB / 0.7422 GB, free: 13.54 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)