Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001268/0.001268, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001411/0.001411, allocations: 212.8 kB / 23.78 MB, free: 4.555 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9321/0.9321, allocations: 150 MB / 463.9 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001938/0.001938, allocations: 66.95 kB / 0.642 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1815, allocations: 89.17 MB / 0.729 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002968/0.1845, allocations: 1.279 MB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1858, allocations: 0.5333 MB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.1858, allocations: 0 / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.1858, allocations: 7.875 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.1859, allocations: 7.969 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.1866, allocations: 150 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.1867, allocations: 15.94 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.1867, allocations: 3.984 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.1868, allocations: 19.92 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.1868, allocations: 3.938 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1868, allocations: 4 kB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.1873, allocations: 279.5 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.1873, allocations: 3.984 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1874, allocations: 7.938 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1876, allocations: 131.9 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1876, allocations: 4 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1876, allocations: 7.938 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1876, allocations: 3.938 kB / 0.7314 GB, free: 14.38 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.0004721/0.1881, allocations: 290 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1882, allocations: 8.031 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.1882, allocations: 192 / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1882, allocations: 34.75 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.1882, allocations: 0.9375 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1884, allocations: 114.5 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.1884, allocations: 384 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1884, allocations: 7.938 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1885, allocations: 67.39 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1885, allocations: 0 / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1885, allocations: 4 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1886, allocations: 3.984 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.713e-05/0.1886, allocations: 11.94 kB / 0.7319 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1888, allocations: 128.8 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.189, allocations: 50.5 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.189, allocations: 12.86 kB / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.189, allocations: 4 kB / 0.7321 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1891, allocations: 30.56 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1891, allocations: 4 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.000651/0.1897, allocations: 241.2 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1897, allocations: 51.41 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.1898, allocations: 93.86 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1898, allocations: 29.7 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.1899, allocations: 80.14 kB / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.1899, allocations: 27.78 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.19, allocations: 17.72 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1901, allocations: 322.8 kB / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.1901, allocations: 8 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.1902, allocations: 16 kB / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.1902, allocations: 40.92 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1902, allocations: 0 / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/0.1903, allocations: 69.62 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1903, allocations: 7.984 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1903, allocations: 0 / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1904, allocations: 0 / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.1904, allocations: 12 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1904, allocations: 0 / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.1904, allocations: 0 / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1904, allocations: 0 / 0.7331 GB, free: 12.4 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 0.0001002/0.1905, allocations: 127.7 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.1906, allocations: 3.953 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1907, allocations: 81.61 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1907, allocations: 0 / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1907, allocations: 0 / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1907, allocations: 0 / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.1911, allocations: 286.6 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1911, allocations: 4 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.1912, allocations: 8 kB / 0.7336 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1912, allocations: 0 / 0.7336 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1912, allocations: 8.031 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1912, allocations: 0 / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1912, allocations: 0.5156 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1914, allocations: 184.3 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.1914, allocations: 15.97 kB / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1914, allocations: 0 / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.1915, allocations: 0 / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1915, allocations: 11.92 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1915, allocations: 0 / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.1916, allocations: 87.27 kB / 0.7339 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1916, allocations: 0 / 0.7339 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002475/0.1918, allocations: 24 kB / 0.7339 GB, free: 11.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0005708/0.1924, allocations: 0.7327 MB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1925, allocations: 27.98 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1925, allocations: 0 / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.1926, allocations: 19.94 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1928, allocations: 7.938 kB / 0.7347 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1941, allocations: 1.323 MB / 0.736 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.1942, allocations: 67.28 kB / 0.7361 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.1942, allocations: 8.453 kB / 0.7361 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1943, allocations: 23.52 kB / 0.7361 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.1943, allocations: 0 / 0.7361 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.2195, allocations: 1.748 MB / 0.7378 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.87, allocations: 9 kB / 0.7378 GB, free: 7.586 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.552276081987657] Failed to read output from testmodel.py, exit status != 0: 12.03219302801881 12.052210143 11.860656172 Calling exit ...