Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 108.1 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 279.3 kB / 303 MB, free: 9.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.169/1.169, allocations: 180.9 MB / 0.5261 GB, free: 14.77 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 98.94 kB / 0.7248 GB, free: 40.69 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1613, allocations: 94.16 MB / 0.8167 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002382/0.1637, allocations: 1.277 MB / 0.818 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1648, allocations: 0.6207 MB / 0.8186 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.1648, allocations: 0 / 0.8186 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.1649, allocations: 0 / 0.8186 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.1649, allocations: 3.938 kB / 0.8186 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.1654, allocations: 147.4 kB / 0.8187 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.1655, allocations: 19.92 kB / 0.8187 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1655, allocations: 4 kB / 0.8187 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.1656, allocations: 11.98 kB / 0.8187 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.1656, allocations: 15.86 kB / 0.8188 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1656, allocations: 0 / 0.8188 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.1661, allocations: 343.3 kB / 0.8191 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1661, allocations: 4 kB / 0.8191 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1662, allocations: 11.92 kB / 0.8191 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1664, allocations: 151.8 kB / 0.8193 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1664, allocations: 0 / 0.8193 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1664, allocations: 0 / 0.8193 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.1665, allocations: 4 kB / 0.8193 GB, free: 3.012 MB / 0.5606 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.0004508/0.1669, allocations: 359.1 kB / 0.8196 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1669, allocations: 8.031 kB / 0.8196 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.167, allocations: 34.73 kB / 0.8196 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.167, allocations: 4.938 kB / 0.8196 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1672, allocations: 172.3 kB / 0.8198 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1672, allocations: 384 / 0.8198 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1672, allocations: 4.375 kB / 0.8198 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1673, allocations: 38.25 kB / 0.8198 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1673, allocations: 7.938 kB / 0.8199 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1673, allocations: 4 kB / 0.8199 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1673, allocations: 3.938 kB / 0.8199 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.1674, allocations: 15.91 kB / 0.8199 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.1675, allocations: 161.7 kB / 0.82 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1677, allocations: 38.56 kB / 0.8201 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.1678, allocations: 12.86 kB / 0.8201 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1678, allocations: 8 kB / 0.8201 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1678, allocations: 30.56 kB / 0.8201 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1678, allocations: 0 / 0.8201 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006323/0.1684, allocations: 326.2 kB / 0.8204 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1685, allocations: 55.41 kB / 0.8205 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.1685, allocations: 93.86 kB / 0.8206 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1686, allocations: 29.7 kB / 0.8206 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1686, allocations: 84.14 kB / 0.8207 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1686, allocations: 23.78 kB / 0.8207 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.1687, allocations: 21.72 kB / 0.8207 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1688, allocations: 310.8 kB / 0.821 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.1688, allocations: 15.98 kB / 0.821 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.1689, allocations: 8 kB / 0.821 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.1689, allocations: 28.86 kB / 0.8211 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1689, allocations: 0 / 0.8211 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.169, allocations: 81.52 kB / 0.8211 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.169, allocations: 4 kB / 0.8212 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.169, allocations: 0 / 0.8212 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.169, allocations: 4 kB / 0.8212 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.1691, allocations: 11.98 kB / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1691, allocations: 0 / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.1691, allocations: 0 / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.1691, allocations: 4 kB / 0.8212 GB, free: 0.7656 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/0.1692, allocations: 109.8 kB / 0.8213 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.1692, allocations: 11.94 kB / 0.8213 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.1694, allocations: 73.58 kB / 0.8214 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1694, allocations: 0 / 0.8214 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1694, allocations: 0 / 0.8214 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1694, allocations: 0 / 0.8214 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.1697, allocations: 319.3 kB / 0.8217 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1697, allocations: 0 / 0.8217 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.1698, allocations: 15.92 kB / 0.8217 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1698, allocations: 3.938 kB / 0.8217 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1698, allocations: 12.03 kB / 0.8217 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1698, allocations: 0 / 0.8217 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1698, allocations: 0 / 0.8217 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.17, allocations: 189 kB / 0.8219 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.17, allocations: 81.09 kB / 0.822 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1701, allocations: 0 / 0.822 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1701, allocations: 4.062 kB / 0.822 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.1701, allocations: 7.984 kB / 0.822 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.1702, allocations: 8 kB / 0.822 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.1702, allocations: 83.27 kB / 0.822 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1702, allocations: 0 / 0.822 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002388/0.1704, allocations: 15.94 kB / 0.8221 GB, free: 15.74 MB / 0.5762 GB 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005523/0.171, allocations: 0.7443 MB / 0.8228 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1711, allocations: 27.98 kB / 0.8228 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1711, allocations: 0 / 0.8228 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.1711, allocations: 19.94 kB / 0.8228 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1713, allocations: 4 kB / 0.8228 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1726, allocations: 1.33 MB / 0.8241 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1729, allocations: 0.6768 MB / 0.8248 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.173, allocations: 12.03 kB / 0.8248 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.173, allocations: 19.42 kB / 0.8248 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.173, allocations: 0 / 0.8248 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1991, allocations: 1.653 MB / 0.8264 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.133, allocations: 10.64 kB / 0.8265 GB, free: 11.3 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.026309037115425] Failed to read output from testmodel.py, exit status != 0: 8.197931439150125 8.213522591 8.043986184 Calling exit ...