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.8284/0.8284, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.001383/0.001383, allocations: 180.9 kB / 169.7 MB, free: 1.73 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.463/1.463, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0007857/0.0007855, allocations: 91.03 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.569e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1571, allocations: 76.76 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4829/0.6401, allocations: 103.2 MB / 0.7291 GB, free: 10.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6404, allocations: 81.56 kB / 0.7291 GB, free: 10.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008685/0.6491, allocations: 3.014 MB / 0.7321 GB, free: 7.566 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6491, allocations: 0 / 0.7321 GB, free: 7.566 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.6491, allocations: 0 / 0.7321 GB, free: 7.566 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.0003105/0.6495, allocations: 342.1 kB / 0.7324 GB, free: 7.191 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.6495, allocations: 12.02 kB / 0.7324 GB, free: 7.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.6496, allocations: 34.52 kB / 0.7325 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.6496, allocations: 4 kB / 0.7325 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6497, allocations: 167 kB / 0.7326 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.6497, allocations: 3.938 kB / 0.7326 GB, free: 6.926 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.6498, allocations: 8.031 kB / 0.7326 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.6501, allocations: 65.41 kB / 0.7327 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6501, allocations: 4 kB / 0.7327 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.6501, allocations: 0 / 0.7327 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6501, allocations: 3.953 kB / 0.7327 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.6504, allocations: 35.16 kB / 0.7327 GB, free: 6.816 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.6505, allocations: 153.6 kB / 0.7329 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.6509, allocations: 65.98 kB / 0.7329 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.6509, allocations: 20.25 kB / 0.733 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.6511, allocations: 93.09 kB / 0.7331 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.6512, allocations: 38.38 kB / 0.7331 GB, free: 6.383 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.6512, allocations: 0 / 0.7331 GB, free: 6.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001315/0.6525, allocations: 405.4 kB / 0.7335 GB, free: 5.961 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.6525, allocations: 55.16 kB / 0.7335 GB, free: 5.898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.6526, allocations: 92.98 kB / 0.7336 GB, free: 5.801 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.6526, allocations: 29.7 kB / 0.7336 GB, free: 5.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.6527, allocations: 84.14 kB / 0.7337 GB, free: 5.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.6527, allocations: 19.23 kB / 0.7337 GB, free: 5.664 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.6527, allocations: 3.688 kB / 0.7338 GB, free: 5.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6528, allocations: 314.8 kB / 0.7341 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.6529, allocations: 15.67 kB / 0.7341 GB, free: 5.336 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.6529, allocations: 18.81 kB / 0.7341 GB, free: 5.324 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.653, allocations: 11.62 kB / 0.7341 GB, free: 5.316 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.653, allocations: 0 / 0.7341 GB, free: 5.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001279/0.6531, allocations: 84.58 kB / 0.7342 GB, free: 5.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6531, allocations: 4 kB / 0.7342 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6532, allocations: 0 / 0.7342 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6532, allocations: 448 / 0.7342 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.6533, allocations: 23.98 kB / 0.7342 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6533, allocations: 3.953 kB / 0.7342 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/0.6534, allocations: 15.11 kB / 0.7342 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.6535, allocations: 0 / 0.7342 GB, free: 5.195 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 6.503e-05/0.6535, allocations: 112.9 kB / 0.7343 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.6536, allocations: 3.938 kB / 0.7343 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.6536, allocations: 12.08 kB / 0.7343 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6536, allocations: 3.938 kB / 0.7343 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6536, allocations: 0 / 0.7343 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.6536, allocations: 7.938 kB / 0.7344 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.6541, allocations: 335.4 kB / 0.7347 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6541, allocations: 8.031 kB / 0.7347 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.6543, allocations: 15.98 kB / 0.7347 GB, free: 4.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6543, allocations: 4 kB / 0.7347 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6543, allocations: 3.5 kB / 0.7347 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6543, allocations: 3.953 kB / 0.7347 GB, free: 4.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6543, allocations: 7.922 kB / 0.7347 GB, free: 4.652 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.6546, allocations: 202.7 kB / 0.7349 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.6546, allocations: 85.12 kB / 0.735 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.6547, allocations: 3.953 kB / 0.735 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.6548, allocations: 15.23 kB / 0.735 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.6548, allocations: 3.984 kB / 0.735 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.6549, allocations: 4 kB / 0.735 GB, free: 4.324 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.6549, allocations: 79.28 kB / 0.7351 GB, free: 4.246 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6549, allocations: 4.062 kB / 0.7351 GB, free: 4.242 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.6551, allocations: 11.69 kB / 0.7351 GB, free: 4.234 MB / 490.7 MB 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 () * 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.0005251/0.6556, allocations: 0.8274 MB / 0.7359 GB, free: 3.398 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.6558, allocations: 46.5 kB / 0.736 GB, free: 3.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6558, allocations: 0 / 0.736 GB, free: 3.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.6558, allocations: 23.8 kB / 0.736 GB, free: 3.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.656, allocations: 5.203 kB / 0.736 GB, free: 3.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.6566, allocations: 220.5 kB / 0.7362 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.6569, allocations: 0.6809 MB / 0.7369 GB, free: 2.391 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.6569, allocations: 8 kB / 0.7369 GB, free: 2.383 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.657, allocations: 15.42 kB / 0.7369 GB, free: 2.367 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.657, allocations: 0 / 0.7369 GB, free: 2.367 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.6699, allocations: 1.409 MB / 0.7383 GB, free: 1.152 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.6701, allocations: 203.3 kB / 0.7385 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.204, allocations: 0 / 0.7385 GB, free: 0.9297 MB / 490.7 MB (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)