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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 215.4 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.934 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002435/0.002435, allocations: 286.1 kB / 313.5 MB, free: 2.762 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.172/1.172, allocations: 180.6 MB / 0.5377 GB, free: 12.9 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 105.9 kB / 0.7404 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1605, allocations: 95.38 MB / 0.8335 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002366/0.1629, allocations: 1.308 MB / 0.8348 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1639, allocations: 0.6166 MB / 0.8354 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.164, allocations: 0 / 0.8354 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.164, allocations: 3.984 kB / 0.8354 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.164, allocations: 3.938 kB / 0.8354 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1645, allocations: 143.4 kB / 0.8355 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.072e-05/0.1646, allocations: 27.91 kB / 0.8356 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.1646, allocations: 4 kB / 0.8356 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.1647, allocations: 15.94 kB / 0.8356 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.1647, allocations: 4 kB / 0.8356 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1647, allocations: 0 / 0.8356 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.1653, allocations: 351.3 kB / 0.8359 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1653, allocations: 7.875 kB / 0.8359 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1653, allocations: 4 kB / 0.8359 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1655, allocations: 155.8 kB / 0.8361 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1656, allocations: 4 kB / 0.8361 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1656, allocations: 0 / 0.8361 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1656, allocations: 0 / 0.8361 GB, free: 5.805 MB / 0.5762 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.0003914/0.1659, allocations: 286 kB / 0.8363 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.166, allocations: 8.75 kB / 0.8364 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.109e-05/0.166, allocations: 192 / 0.8364 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.166, allocations: 38.73 kB / 0.8364 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.1661, allocations: 4.891 kB / 0.8364 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1662, allocations: 114.4 kB / 0.8365 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1662, allocations: 4.375 kB / 0.8365 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1662, allocations: 384 / 0.8365 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1663, allocations: 50 kB / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1663, allocations: 0 / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1663, allocations: 0 / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1663, allocations: 0 / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.1664, allocations: 8 kB / 0.8366 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1665, allocations: 128.8 kB / 0.8367 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1667, allocations: 42.55 kB / 0.8367 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.1667, allocations: 20.94 kB / 0.8367 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1668, allocations: 4 kB / 0.8368 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1668, allocations: 38.5 kB / 0.8368 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1668, allocations: 0 / 0.8368 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0005704/0.1674, allocations: 229.1 kB / 0.837 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1674, allocations: 51.41 kB / 0.8371 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.1675, allocations: 102.2 kB / 0.8372 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1675, allocations: 33.7 kB / 0.8372 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.1675, allocations: 84.14 kB / 0.8373 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1676, allocations: 23.78 kB / 0.8373 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1676, allocations: 21.72 kB / 0.8373 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1677, allocations: 310.8 kB / 0.8376 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.1677, allocations: 15.92 kB / 0.8376 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.1678, allocations: 12.06 kB / 0.8376 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.1678, allocations: 36.84 kB / 0.8377 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1678, allocations: 4 kB / 0.8377 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/0.1679, allocations: 69.62 kB / 0.8377 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1679, allocations: 4 kB / 0.8377 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1679, allocations: 0 / 0.8377 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1679, allocations: 0 / 0.8377 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.168, allocations: 19.92 kB / 0.8378 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.168, allocations: 240 / 0.8378 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.168, allocations: 0 / 0.8378 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.168, allocations: 4 kB / 0.8378 GB, free: 3.848 MB / 0.5762 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.608e-05/0.1681, allocations: 114.5 kB / 0.8379 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.1681, allocations: 7.938 kB / 0.8379 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1683, allocations: 77.62 kB / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1683, allocations: 0 / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1683, allocations: 0 / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1683, allocations: 0 / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.1686, allocations: 282.4 kB / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1686, allocations: 4 kB / 0.8382 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.1687, allocations: 8 kB / 0.8382 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1687, allocations: 7.969 kB / 0.8382 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1687, allocations: 11.98 kB / 0.8383 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1687, allocations: 3.938 kB / 0.8383 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1687, allocations: 3.984 kB / 0.8383 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1689, allocations: 168.3 kB / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.1689, allocations: 16.16 kB / 0.8384 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1689, allocations: 4 kB / 0.8384 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.169, allocations: 8.062 kB / 0.8385 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.169, allocations: 0 / 0.8385 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.169, allocations: 7.984 kB / 0.8385 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.169, allocations: 83.28 kB / 0.8385 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.169, allocations: 0 / 0.8385 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002433/0.1693, allocations: 19.88 kB / 0.8386 GB, free: 2.945 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.0005302/0.1698, allocations: 0.7405 MB / 0.8393 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.1699, allocations: 27.92 kB / 0.8393 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1699, allocations: 0 / 0.8393 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.1699, allocations: 16 kB / 0.8393 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1702, allocations: 9.016 kB / 0.8393 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1714, allocations: 1.324 MB / 0.8406 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1717, allocations: 0.6807 MB / 0.8413 GB, free: 12 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.1718, allocations: 12.09 kB / 0.8413 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.1718, allocations: 19.5 kB / 0.8413 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1718, allocations: 0 / 0.8413 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.195, allocations: 1.781 MB / 0.8431 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.25, allocations: 14.86 kB / 0.8431 GB, free: 14.38 MB / 0.5919 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.25728350499412] Failed to read output from testmodel.py, exit status != 0: 11.403594197996426 11.422075386 11.253612613 Calling exit ...