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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001692/0.001692, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.793 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.002428/0.002428, allocations: 288.2 kB / 312.7 MB, free: 2.609 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.5369 GB, free: 14.52 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="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: 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.004154/0.004154, allocations: 99.89 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1898, allocations: 95.39 MB / 0.8326 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002546/0.1923, allocations: 1.304 MB / 0.8339 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1935, allocations: 0.5427 MB / 0.8345 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.1936, allocations: 0 / 0.8345 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.1936, allocations: 7.938 kB / 0.8345 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.1936, allocations: 0 / 0.8345 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.1942, allocations: 148.2 kB / 0.8346 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.1943, allocations: 19.92 kB / 0.8346 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1943, allocations: 11.98 kB / 0.8346 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.1943, allocations: 4 kB / 0.8346 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.1944, allocations: 11.92 kB / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1944, allocations: 0 / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.1949, allocations: 271.5 kB / 0.8349 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.1949, allocations: 8 kB / 0.8349 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.1949, allocations: 7.938 kB / 0.8349 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1951, allocations: 139.8 kB / 0.8351 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1951, allocations: 0 / 0.8351 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1951, allocations: 0 / 0.8351 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1951, allocations: 0 / 0.8351 GB, free: 5.914 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.0004252/0.1956, allocations: 290 kB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1956, allocations: 8.75 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.1956, allocations: 34.75 kB / 0.8354 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1957, allocations: 8.891 kB / 0.8354 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.1958, allocations: 110.5 kB / 0.8355 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1958, allocations: 384 / 0.8355 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1958, allocations: 4.375 kB / 0.8355 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1959, allocations: 67.89 kB / 0.8356 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1959, allocations: 7.938 kB / 0.8356 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1959, allocations: 0 / 0.8356 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1959, allocations: 0 / 0.8356 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.196, allocations: 11.98 kB / 0.8356 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.1961, allocations: 124.8 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1963, allocations: 42.61 kB / 0.8357 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.1964, allocations: 24.94 kB / 0.8358 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1964, allocations: 3.938 kB / 0.8358 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1964, allocations: 30.56 kB / 0.8358 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1964, allocations: 0 / 0.8358 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0005741/0.197, allocations: 237.4 kB / 0.836 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.197, allocations: 55.34 kB / 0.8361 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.1971, allocations: 97.84 kB / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1971, allocations: 25.7 kB / 0.8362 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.1972, allocations: 88.14 kB / 0.8363 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1972, allocations: 15.8 kB / 0.8363 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.1973, allocations: 29.7 kB / 0.8363 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1974, allocations: 314.8 kB / 0.8366 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.1974, allocations: 8 kB / 0.8366 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.1975, allocations: 11.98 kB / 0.8366 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.1975, allocations: 44.88 kB / 0.8367 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1975, allocations: 0 / 0.8367 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.1976, allocations: 69.61 kB / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1977, allocations: 4 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1977, allocations: 0 / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1977, allocations: 4 kB / 0.8368 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.1977, allocations: 11.98 kB / 0.8368 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1977, allocations: 4 kB / 0.8368 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.1978, allocations: 4 kB / 0.8368 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1978, allocations: 4 kB / 0.8368 GB, free: 3.922 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 8.671e-05/0.1979, allocations: 110.4 kB / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.1979, allocations: 7.938 kB / 0.8369 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.198, allocations: 73.86 kB / 0.837 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.198, allocations: 4 kB / 0.837 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.198, allocations: 0 / 0.837 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.198, allocations: 4 kB / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.1984, allocations: 286.4 kB / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1984, allocations: 0 / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.1985, allocations: 15.98 kB / 0.8373 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1985, allocations: 0 / 0.8373 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1985, allocations: 0 / 0.8373 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1985, allocations: 0 / 0.8373 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1985, allocations: 4 kB / 0.8373 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1987, allocations: 180.3 kB / 0.8374 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.1987, allocations: 4.031 kB / 0.8374 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1987, allocations: 4 kB / 0.8374 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.1988, allocations: 4 kB / 0.8374 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.1988, allocations: 12.02 kB / 0.8375 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1988, allocations: 4 kB / 0.8375 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.1989, allocations: 75.28 kB / 0.8375 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1989, allocations: 0 / 0.8375 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002442/0.1991, allocations: 27.88 kB / 0.8376 GB, free: 3.031 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.0005592/0.1997, allocations: 0.7404 MB / 0.8383 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1998, allocations: 31.98 kB / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.1998, allocations: 0 / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.1998, allocations: 20.05 kB / 0.8383 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.2, allocations: 8 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2014, allocations: 1.319 MB / 0.8396 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.2014, allocations: 67.41 kB / 0.8397 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.2015, allocations: 7.984 kB / 0.8397 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.2015, allocations: 11.44 kB / 0.8397 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2015, allocations: 0 / 0.8397 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.2342, allocations: 2.134 MB / 0.8418 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.98, allocations: 8.562 kB / 0.8418 GB, free: 14.73 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 os._exit(0), Time elapsed: 14.881602198816836] Failed to read output from testmodel.py, exit status != 0: 11.078372053802013 11.09435038 10.896108739 Calling exit ...